Meta/Count: allow the command line to specify the latest tag

This commit is contained in:
Junio C Hamano
2025-07-01 15:24:21 -07:00
parent 7af8e2e034
commit ce57fbc53a

4
Count
View File

@@ -2,9 +2,9 @@
: ${asof=${1-now}}
: ${lasttag=$(
: ${lasttag=${2-$(
git tag --list 'v*.0' --sort=version:tag | tail -n 1
)}
)}}
for r in "$lasttag..master@{$asof}" \
"master@{$asof}..next@{$asof}" \