Re: Add a "git-describe" command

From: M_ <barra_cuda@katamail.com>
Date: 2005-12-26 06:21:09
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/::')
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Dec 26 06:13:45 2005

This archive was generated by hypermail 2.1.8 : 2005-12-26 06:13:53 EST