mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ryan Anderson <ryan@michonline.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>,
	linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>
Subject: [PATCH] setlocalversion: Change -git_dirty to just -dirty
Date: Sun, 8 Jan 2006 04:35:36 -0500	[thread overview]
Message-ID: <20060108093535.GA22585@mythryan2.michonline.com> (raw)
In-Reply-To: <20060106194735.GA15694@mars.ravnborg.org>


When building Debian packages directly from the git tree, the appended
"git_dirty" is a problem due to the underscore.  In order to cause the
least problems, change that just to "dirty".

Signed-off-by: Ryan Anderson <ryan@michonline.com>

--- linux-git.orig/scripts/setlocalversion	2006-01-07 01:48:21.000000000 -0500
+++ linux-git/scripts/setlocalversion	2006-01-08 04:32:49.000000000 -0500
@@ -17,6 +17,6 @@ if head=`git rev-parse --verify HEAD 2>/
 
 	# Are there uncommitted changes?
 	if git diff-files | read dummy; then
-		printf '%s' -git_dirty
+		printf '%s' -dirty
 	fi
 fi


-- 

Ryan Anderson
  sometimes Pug Majere

  reply	other threads:[~2006-01-08  9:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04 19:42 [PATCH] Use git in scripts/setlocalversion Rene Scharfe
2006-01-04 22:43 ` Ryan Anderson
2006-01-06 19:47 ` Sam Ravnborg
2006-01-08  9:35   ` Ryan Anderson [this message]
2006-01-08 17:45     ` [PATCH] setlocalversion: Change -git_dirty to just -dirty Sam Ravnborg
2006-01-09  3:47 ` [PATCH] Use git in scripts/setlocalversion Coywolf Qi Hunt
2006-01-09  5:58   ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060108093535.GA22585@mythryan2.michonline.com \
    --to=ryan@michonline.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rene.scharfe@lsrfire.ath.cx \
    --cc=sam@ravnborg.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®