]> jfr.im git - irc/atheme/atheme.git/commitdiff
Git tree (not tarballs): include/mkserno.sh: remove --broken switch
authorAaron Jones <redacted>
Sun, 28 Feb 2021 14:49:10 +0000 (14:49 +0000)
committerAaron Jones <redacted>
Sun, 28 Feb 2021 15:00:56 +0000 (15:00 +0000)
Some very old gits do not support this; it was added in 2.13.0 (2017).

We already sort of detect broken submodules in the configure script,
so this should be safe to remove. Unless the user deliberately
corrupts their repository, there's no difference.

include/mkserno.sh

index b43a807884cc4c68db712c51b91dfde3f7851f7d..a0ff6d2cc77a53bd90cb7ad5b03886880bf9a18f 100755 (executable)
@@ -15,7 +15,7 @@
 
 SERNO_FILE="serno.h"
 
-REVH_NEW="$(git describe --abbrev=20 --always --broken --dirty --long --tags)"
+REVH_NEW="$(git describe --abbrev=20 --always --dirty --long --tags)"
 
 if [ "x${REVH_NEW}" = "x" ]
 then