From 00caf9dafbbf1d67a66b2b1ac1fe4fadb200b8e0 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 26 Jul 2026 07:24:07 -0700 Subject: [PATCH] Meta/Count: do not add unnecessary @{now} --- Count | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Count b/Count index 39fd77176d..5a6778f887 100755 --- a/Count +++ b/Count @@ -1,14 +1,14 @@ #!/bin/sh -: ${asof=${1-now}} +: ${asof=${1+"@{$1}"}} : ${lasttag=${2-$( 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}" +for r in "$lasttag..master$asof" \ + "master$asof..next$asof" \ + "master$asof..seen$asof" do echo "$r $(git rev-list --count --no-merges $r)" done