Re: [PATCH] v3 kconfig: place git SHA1 in .config output if in SCM
From: Mike Galbraith
Date: Fri Mar 05 2010 - 01:11:02 EST
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.
Eventually someone will make bisect stop stepping on random kernels, and
generally making a mess, and life will be grand ;-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/