Meta/Count: allow the command line to specify the latest tag
Junio C Hamano committed
Jul 1, 2025 at 15:24 UTC
ce57fbc53aa01c62402f4235d46c70cee70a7bdd
1 file changed
+2
-2
Count
+2
-2
@@ -2,9 +2,9 @@
2
3
: ${asof=${1-now}}
4
5
-: ${lasttag=$(
5
+: ${lasttag=${2-$(
6
git tag --list 'v*.0' --sort=version:tag | tail -n 1
7
- )}
7
+ )}}
8
9
for r in "$lasttag..master@{$asof}" \
10
"master@{$asof}..next@{$asof}" \