[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090330122137.GA6918@denkbrett.schottelius.org>
Date: Mon, 30 Mar 2009 14:21:37 +0200
From: Nico Schottelius <nico-linux-20090330@...ottelius.org>
To: LKML <linux-kernel@...r.kernel.org>
Cc: trivial@...nel.org
Subject: [PATCH] Fix scripts/setlocalversion with git
Hello!
When using trees like wireless-testing, which have untagged tags,
scripts/setlocalversion does not display any git indication for
localversion.
This patch fixes it: If git is available, but no usable tag is found,
it uses -g${head}. It skips the detection of unanottated tags via
git name-rev.
Please apply, otherwise testers like me always have '2.6.29' for trees
with unanottated tags, instead of 2.6.29-20318-g9aa4755, which helps
a lot if you've tons of kernels installed from different trees.
Sincerly,
Nico
ps: please cc on reply
View attachment "patch-localversion-2.6.29" of type "text/plain" (788 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists