Meta/Count: make lasttag truly customizable
Junio C Hamano committed
May 13, 2024 at 16:28 UTC
4b278fb7574e7701707e33bfc40342439373d9a2
1 file changed
+3
-2
Count
+3
-2
@@ -2,9 +2,10 @@
2
3
: ${asof=${1-now}}
4
5
-lasttag=$(
5
+: ${lasttag=$(
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}" \
11
"master@{$asof}..seen@{$asof}"