]> sourceware.org Git - systemtap.git/commitdiff
git_version.h: stop using --broken
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 30 Jun 2023 20:00:06 +0000 (16:00 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 30 Jun 2023 20:00:06 +0000 (16:00 -0400)
It's not available on rhel7 era git versions.

git_version.sh

index 101e03953922f56c4c19bf9c3bc671e41adb2654..49a159c48652fe4e6922b02bdfe26b6655f1081a 100755 (executable)
@@ -218,7 +218,7 @@ if [ "x$git_repo_dir" != "x" ]; then #
             git_errors="${git_errors+${git_errors}; }error running '$GIT log --oneline'"
         fi
         # Grab the "pretty" revision number
-        git_pretty_rev=`$GIT describe --dirty --broken --always --abbrev=8`
+        git_pretty_rev=`$GIT describe --dirty --always --abbrev=8`
         if [ "x$git_shaid" = "x" ]; then
             git_errors="${git_errors+${git_errors}; }error running '$GIT describe'"
         fi
This page took 0.028848 seconds and 5 git commands to generate.