Re: Add a "git-describe" command
- From
M_ <barra_cuda@katamail.com>
- Date
- Dec 25, 2005, 19:21 UTC
- Message-ID
- <200512252021.09481.barra_cuda@katamail.com>
- In-Reply-To
- <Pine.LNX.4.64.0512241409300.14098@g5.osdl.org>
Alle 23:13, sabato 24 dicembre 2005, Linus Torvalds ha scritto:
> - it should notice when "git-describe" doesn't exist, and fall back on > the old less-than-descriptive behaviour
And something like this?
GIT_VERSION = $(shell (git-describe HEAD || echo "1.0.GIT") | sed 's:refs/tags/::')