Eric Blake <ebl...@redhat.com> writes:

> On 11/13/2011 03:18 AM, Simon Josefsson wrote:
>>> Yes, since that allows you the freedom to have more tags than just
>>> official releases.  (I frequently have local tags to intermediate
>>> points, but only push official v1.0 style tags upstream, but since the
>>> command runs locally, git describe tries to use my local tags unless I
>>> use --match).
>> 
>> Ok.  But what is the harm if the --match is not done?  You would get a
>> version string based on your own tags, but how does that matter?
>
> If you are using incremental version strings (such as coreutils), by
> using git-version-gen as part of configure.ac, then every build you do
> locally would pick up on your local tags instead of the latest release
> tag, if you omit the --match.  Yes, at release time, the latest tag is a
> release tag; but it is during the incremental development (such as
> posting candidate snapshots to the platform-testers list) where --match
> saves the day.

Ok thanks for explaining.

/Simon

Reply via email to