blob: c25960cdb0176091ba82d9b097542d6748e77f83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/sh
#GLO="git log --format=-%x20%s"
#GLO="git shortlog -w76,4,6"
GLO="git shortlog"
VT=`git tag --sort=-version:refname -l`
VH=""
if [ "$1" != "" ]; then VH="HEAD"; fi
V2=""
for V1 in $1 $VT
do
if [ "$V2" != "" ]; then
if [ "$VH" = "HEAD" ]; then
VD="$VH"
else
VD="$V2"
VH="$V2"
fi
D=$(git show -s --format=%cs $VD^{commit})
printf "%s - %s\n--------------------\n" "$V2" "$D"
$GLO $V1..$VH
VH=""
fi
V2="$V1"
done
# D=$(git show -s --format=%cs $VD^{commit})
# printf "\n%s - %s (from dawn of time)\n---------------------------------------\n" "$V2" "$D"
# $GLO $V2
|