From: Nico Schottelius Date: Sat, 25 Apr 2009 07:48:39 +0000 (+0200) Subject: kbuild: fix scripts/setlocalversion with git X-Git-Tag: v2.6.30-rc5~56^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a182ad3d0f858f50bb719a48bb35a013e12366c5;p=pandora-kernel.git 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 Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed