aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-02-01 12:19:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-01 12:19:49 +0100
commit40222b926b6d2f7d08aeeff756de3ade36121396 (patch)
treea88f961dc9baded4bd78ea1f83f47c7c65041c7a
parent7b3ea5507cd79d7e80cb435fda20e70f90e18663 (diff)
downloadffmpeg-40222b926b6d2f7d08aeeff756de3ade36121396.tar.gz
Provide monotone revission numbers in version.sh
-rwxr-xr-xversion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/version.sh b/version.sh
index 3269e038a7..d1cf15d432 100755
--- a/version.sh
+++ b/version.sh
@@ -18,7 +18,7 @@ fi
# check for git short hash
if ! test "$revision"; then
- revision=$(cd "$1" && git describe --always 2> /dev/null)
+ revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)
test "$revision" && revision=git-$revision
fi