]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
contrithanks: Use the most recent tag by default
authorFrank Gevaerts <frank@gevaerts.be>
Wed, 5 Feb 2020 10:34:07 +0000 (11:34 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 Feb 2020 12:54:13 +0000 (13:54 +0100)
(similar to 5296abe)

Closes #4883

scripts/contrithanks.sh

index 85af71038e99568b9d5a74fb3d3b681397b507cb..da395aebf05971445987ed858268726fdb76fd86 100755 (executable)
 
 start=$1
 
-if test -z "$start"; then
+if test "$start" = "-h"; then
   echo "Usage: $0 <since this tag/hash>"
+  exit
+fi
+if test -z "$start"; then
+  start=`git tag --sort=taggerdate | tail -1`;
 fi
 
 cat ./docs/THANKS