From ce57fbc53aa01c62402f4235d46c70cee70a7bdd Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 1 Jul 2025 15:24:21 -0700 Subject: [PATCH] Meta/Count: allow the command line to specify the latest tag --- Count | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Count b/Count index a01e3093bb..39fd77176d 100755 --- a/Count +++ b/Count @@ -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}" \ -- 2.47.3