[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090407154437.GA31758@ikn.schottelius.org>
Date: Tue, 7 Apr 2009 17:44:37 +0200
From: Nico Schottelius <nico-linux-20090330@...ottelius.org>
To: Nico Schottelius <nico-linux-20090330@...ottelius.org>,
LKML <linux-kernel@...r.kernel.org>, trivial@...nel.org
Subject: [Resend] [PATCH] Fix scripts/setlocalversion with git
Hello again!
I just saw that this patch did not go anywhere and did not have
any replies, so I repost it.
I also created a git-repo at
git://git.schottelius.org/linux/linux-2.6
gitweb:
http://git.schottelius.org/?p=linux/linux-2.6;a=summary
if you want the patch (f43ba0be1204e7c26cc700a75bdb688a788fbf2f)
via git.
Sincerly,
Nico
Nico Schottelius [Mon, Mar 30, 2009 at 02:21:37PM +0200]:
> 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