summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-23 16:27:38 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-23 16:27:38 +0200
commit5651c039207696aef8d6898846aa0efc9d582e78 (patch)
treece84cc34a223460c0e90ddcf034a3f7f91cebeb3
parent5b78752a04053249f7543af772571815b5034ab5 (diff)
downloadpulseaudio-5651c039207696aef8d6898846aa0efc9d582e78.tar.gz
build-sys: drop compat with old git versions so that tarballs for -test1 style evrsions are properly created
-rwxr-xr-xgit-version-gen24
1 files changed, 12 insertions, 12 deletions
diff --git a/git-version-gen b/git-version-gen
index 710870cdb..bb99c3a85 100755
--- a/git-version-gen
+++ b/git-version-gen
@@ -106,18 +106,18 @@ then
# tag or the previous older version that did not?
# Newer: v6.10-77-g0f8faeb
# Older: v6.10-g0f8faeb
- case $v in
- *-*-*) : git describe is okay three part flavor ;;
- *-*)
- : git describe is older two part flavor
- # Recreate the number of commits and rewrite such that the
- # result is the same as if we were using the newer version
- # of git describe.
- vtag=`echo "$v" | sed 's/-.*//'`
- numcommits=`git rev-list "$vtag"..HEAD | wc -l`
- v=`echo "$v" | sed "s/\(.*\)-\(.*\)/\1-$numcommits-\2/"`;
- ;;
- esac
+# case $v in
+# *-*-*) : git describe is okay three part flavor ;;
+# *-*)
+# : git describe is older two part flavor
+# # Recreate the number of commits and rewrite such that the
+# # result is the same as if we were using the newer version
+# # of git describe.
+# vtag=`echo "$v" | sed 's/-.*//'`
+# numcommits=`git rev-list "$vtag"..HEAD | wc -l`
+# v=`echo "$v" | sed "s/\(.*\)-\(.*\)/\1-$numcommits-\2/"`;
+# ;;
+# esac
# Change the first '-' to a '.', so version-comparing tools work properly.
# Remove the "g" in git describe's output string, to save a byte.