Re: [PATCH] v3 kconfig: place git SHA1 in .config output if in SCM

From: Paul E. McKenney
Date: Fri Mar 05 2010 - 07:57:42 EST

On Fri, Mar 05, 2010 at 07:10:48AM +0100, Mike Galbraith wrote:
> On Thu, 2010-03-04 at 18:54 -0800, Paul E. McKenney wrote:
> > This patch appends the localversion string to the Linux kernel version.
> > For example, in a git tree with uncommitted changes, the .config file
> > might start as follows (but with leading hash marks):
> >
> > Automatically generated make config: don't edit
> > Linux kernel version: 2.6.33-01836-g90a6501-dirty
> > Mon Mar 1 17:05:59 2010
> >
> > The "-01836-g90a6501-dirty" string is added by this patch.
> I really like this. This gives me the advantages of non-volatile build
> info without the mess that makes if it's appended to file names/paths.

Glad you like it! ;-)

> -Mike
> Eventually someone will make bisect stop stepping on random kernels, and
> generally making a mess, and life will be grand ;-)

Heck, I don't even know how bisect deals with merges. ;-)

Thanx, Paul
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at