]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
setlocalversion: do not describe if there is nothing to describe
authorSebastian Siewior <lkml@ml.breakpoint.cc>
Tue, 1 Jul 2008 22:18:08 +0000 (00:18 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 25 Jul 2008 20:12:53 +0000 (22:12 +0200)
commit56b2f0706d82535fd8d85503f2dcc0be40c8e55d
treed9c4aa91569291eebf119e953abb9b3452e36943
parent12d2b8f951063076c7e0acdff7ae1fecd54920a0
setlocalversion: do not describe if there is nothing to describe

Jan Engelhardt wrote:
> Just a note that when you run git-describe, you should probably quiten it.
>
> fatal: cannot describe 'bd7364a0fd5a4a2878fe4a224be1b142a4e6698e'
>
> This happens when tags are not present, which can happen if Linus's tree
> is sent upwards again, IOW:
>
>  machine1$  git-clone torvalds/linux-2.6.git
>  machine1$  git push elsewhere master
>
>  machine2$  git-clone elsewhere:/linux
>  machine2$  git-describe HEAD
>  fatal: cannot describe that

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Acked-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/setlocalversion