repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
What's cooking (2024/04 #04)
[alt-git.git]
/
Count
blob
5a73cade66cce1c115b806c40a2b77e3d81d26aa
1
#!/bin/sh
2
3
:
${asof=${1-now}
}
4
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
}"
11
do
12
echo
"
$r
$(git rev-list --count --no-merges
$r
)"
13
done