blob: 44397fc67900762fcf9506a39724adcabf0e2f07 (
plain) (
tree)
|
|
diff -ur a/build-aux/git-version-gen b/build-aux/git-version-gen
--- a/build-aux/git-version-gen 2024-12-10 15:40:58.099527209 +0000
+++ b/build-aux/git-version-gen 2024-12-10 15:44:18.316014690 +0000
@@ -133,19 +133,6 @@
v=`echo "$v" |sed 's/^v//'`
-# Don't declare a version "dirty" merely because a time stamp has changed.
-git update-index --refresh > /dev/null 2>&1
-
-dirty=`sh -c 'git diff-index --name-only HEAD' 2>/dev/null` || dirty=
-case "$dirty" in
- '') ;;
- *) # Append the suffix only if there isn't one already.
- case $v in
- *-dirty) ;;
- *) v="$v-dirty" ;;
- esac ;;
-esac
-
# Omit the trailing newline, so that m4_esyscmd can use the result directly.
echo "$v" | tr -d "$nl"
|