shithub: opusfile

Download patch

ref: 9a9825df0319138fe845cbb19c250b642965c4b1
parent: e63503349f3fb5d72030e9e7ea3fbc43bf743762
author: Ron <[email protected]>
date: Thu Dec 5 12:20:19 EST 2013

Revert "Pass --always to 'git describe'."

This reverts commit 8638d78c76ab7689666ccacb615d1ac399961f2d.
Since it doesn't actually fix the original problem with shallow clones,
it returns just a hash, not something we (currently) can extract as a
version string in the form things are expecting.  Which means the .pc
version checks for things using the library at least will still fail.

--- a/update_version
+++ b/update_version
@@ -34,8 +34,7 @@
 # -dirty from files that have been touched but are not actually altered in the
 # working dir.
 GIT_VERSION=$(cd "$SRCDIR" && git status > /dev/null 2>&1 \
-                           && git describe --tags --match 'v*' \
-                                           --always --dirty 2> /dev/null)
+                           && git describe --tags --match 'v*' --dirty 2> /dev/null)
 GIT_VERSION=${GIT_VERSION#v}
 
 if [ -n "$GIT_VERSION" ]; then