Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Count - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Count
blob: 5a73cade66cce1c115b806c40a2b77e3d81d26aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

: ${asof=${1-now}}

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}"
do
	echo "$r	$(git rev-list --count --no-merges $r)"
done