Nico Schottelius a182ad3d0f kbuild: fix scripts/setlocalversion with git
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.

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-05-01 10:54:04 +02:00
..
2009-04-02 01:22:24 +00:00
2009-02-27 16:26:22 -08:00
2008-10-22 21:53:49 -07:00
2008-07-25 22:12:41 +02:00
2009-04-06 14:27:17 -07:00
2008-04-25 20:18:48 +02:00
2008-04-25 20:18:48 +02:00