[elinks-dev] please don't git describe in 0.12
Jonas Fonseca
fonseca at diku.dk
Fri Feb 29 00:52:44 MST 2008
Kalle Olavi Niemitalo <kon at iki.fi> wrote Fri, Feb 29, 2008:
> Jonas Fonseca <fonseca at diku.dk> writes:
>
> > git describe --match "elinks-*"
> >
> > --match <pattern>
> > Only consider tags matching the given pattern (can be used to avoid
> > leaking private tags made from the repository).
>
> Now, which versions of Git support that? It seems to me that Git
> 1.5.4.3 is the latest release and it recognizes no such option.
> http://www.kernel.org/pub/software/scm/git/docs/v1.5.4.3/git-describe.html
It was added in v1.5.4-rc1-21-g30ffa60.
> Given that most people building ELinks probably do not have a
> bleeding-edge Git installed (I currently don't), ELinks would
> have to do something sane with older Git versions too. So just
> adding the --match option to src/Makefile is not enough.
Anyway, good old grep can probably also be used to pick a good candidate
if you can get git-describe to list several tags.
--
Jonas Fonseca
More information about the elinks-dev
mailing list