From 4b278fb7574e7701707e33bfc40342439373d9a2 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 13 May 2024 16:28:20 -0700 Subject: [PATCH] Meta/Count: make lasttag truly customizable --- Count | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Count b/Count index 5a73cade66..a01e3093bb 100755 --- a/Count +++ b/Count @@ -2,9 +2,10 @@ : ${asof=${1-now}} -lasttag=$( +: ${lasttag=$( git tag --list 'v*.0' --sort=version:tag | tail -n 1 -) && + )} + for r in "$lasttag..master@{$asof}" \ "master@{$asof}..next@{$asof}" \ "master@{$asof}..seen@{$asof}" -- 2.47.3