@@ -10,11 +10,44 @@ log () {
1010 git shortlog -w76,2,4 --no-merges " $@ "
1111}
1212
13- echo " Subject: What's in git.git (stable)"
14- echo " X-maint-at: $maint_at "
15- echo " X-master-at: $master_at "
16- echo " X-maint-was: $maint_was "
17- echo " X-master-was: $master_was "
13+ one () {
14+ git show -s --pretty=" format:%h (%s)" " $1 "
15+ }
16+
17+ eval $( LC_ALL=C date +" monthname=%b month=%m year=%Y date=%d dow=%a" )
18+
19+ lead=" whats/in/$year /$month "
20+ issue=$(
21+ cd Meta &&
22+ git ls-tree -r --name-only HEAD " $lead " | tail -n 1
23+ )
24+ if test -n " $issue "
25+ then
26+ issue=$( expr " $issue " : ' .*/0*\([1-9][0-9]*\)\.txt$' )
27+ issue=$(( $issue + 1 ))
28+ else
29+ issue=1
30+ fi
31+ issue=$( printf " %02d" $issue )
32+
33+ mkdir -p " Meta/$lead "
34+ exec > " Meta/$lead /$issue .txt"
35+
36+ cat << EOF
37+ Subject: What's in git.git ($monthname $year , #$issue ; $dow , $date )
38+ X-maint-at: $maint_at "
39+ X-master-at: $master_at "
40+ X-maint-was: $maint_was "
41+ X-master-was: $master_was "
42+
43+ What's in git.git ($monthname $year , #$issue ; $dow , $date )
44+
45+ maint $( one maint)
46+ master $( one master)
47+ ------------------------------------------------------------------------
48+
49+ BLURB HERE
50+ EOF
1851
1952tagged=` git rev-parse --not --verify hold/sa/maint`
2053list=` git rev-list $tagged refs/heads/maint 2> /dev/null`
0 commit comments