summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/pid.c
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2010-12-04 17:21:27 +0000
committerColin Guthrie <cguthrie@mandriva.org>2010-12-04 17:34:03 +0000
commitba2e5f4442b8f933f37411cc625598cc72938d33 (patch)
tree37260a058ae4ef5fcab58daf7e4c0cc114c9c63f /src/pulsecore/pid.c
parent2a01bab3cc50a6ef02af3872a13d279ad996a0b1 (diff)
build-sys: Add some smarts to version extraction from git tags.
When we are dealing with a tag against a commit with other tags applied, then favour the first tag, not the last one. This allows us to tag a release as e.g. v1.0, v1.1-dev and v2.0-dev and get a version of 1.0 rather than the newer tags. This also removes support for git versions that do not accept the --match argument as we also now make use of the --contains arg which was added at the same time (I think) Additionally, the v variable is reset just incase it is already exported in the shell for some reason.
Diffstat (limited to 'src/pulsecore/pid.c')
0 files changed, 0 insertions, 0 deletions