]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
setlocalversion: add some more fallbacks for git describe
authorMike Frysinger <vapier@gentoo.org>
Mon, 20 Sep 2010 18:36:18 +0000 (14:36 -0400)
committerWolfgang Denk <wd@denx.de>
Tue, 21 Sep 2010 19:33:16 +0000 (21:33 +0200)
commit16e66cf194f6d4c748f3c02689e6cd1aa4440c0e
tree1c94a5ac41898d21e8d144ca27bdbb9d857e7ab4
parent07517e7f4f582d1607adbc444bab75af3ac4a7f9
setlocalversion: add some more fallbacks for git describe

If working out of a custom git tree that lacks annotated tags, the
'git describe' operation spews "fatal: cannot describe" errors all
over the place.  So add some fallback code in case the best naming
was unable to locate something useful.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
tools/setlocalversion