Re: please don't git describe in 0.12

Jonas Fonseca <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
Kalle Olavi Niemitalo <[email protected]> wrote Fri, Feb 29, 2008:
> Jonas Fonseca <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.