What's cooking (2024/04 #04)
[alt-git.git] / Count
blob5a73cade66cce1c115b806c40a2b77e3d81d26aa
1 #!/bin/sh
3 : ${asof=${1-now}}
5 lasttag=$(
6 git tag --list 'v*.0' --sort=version:tag | tail -n 1
7 ) &&
8 for r in "$lasttag..master@{$asof}" \
9 "master@{$asof}..next@{$asof}" \
10 "master@{$asof}..seen@{$asof}"
12 echo "$r $(git rev-list --count --no-merges $r)"
13 done