diff options
author | Nico Schottelius <nico-linux-20090330@schottelius.org> | 2009-04-25 09:48:39 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-05-01 10:54:04 +0200 |
commit | a182ad3d0f858f50bb719a48bb35a013e12366c5 (patch) | |
tree | ac68356f710cf5be77d6e6d529d49f598aaf67ea /lib/int_sqrt.c | |
parent | 99e3a1eb3c22bb671c6f3d22d8244bfc9fad8185 (diff) | |
download | linux-stable-a182ad3d0f858f50bb719a48bb35a013e12366c5.tar.gz linux-stable-a182ad3d0f858f50bb719a48bb35a013e12366c5.tar.bz2 linux-stable-a182ad3d0f858f50bb719a48bb35a013e12366c5.zip |
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>
Diffstat (limited to 'lib/int_sqrt.c')
0 files changed, 0 insertions, 0 deletions