2 # Prepare "What's cooking in git.git"
4 master_at=$(git rev-parse --verify refs/heads/master)
5 next_at=$(git rev-parse --verify refs/heads/next)
10 echo Here are the topics that have been
12 Meta/git-topic.perl --base=master | sed -e 's/^\*./\n*/'
16 keep_master=--keep-master
20 eval $(LC_ALL=C date +"monthname=%b month=%m year=%Y date=%d dow=%a")
22 lead="whats/cooking/$year/$month"
25 git ls-tree -r --name-only HEAD "$lead" | tail -n 1
29 issue=$( expr "$issue" : '.*/0*\([1-9][0-9]*\)\.txt$' )
30 issue=$(( $issue + 1 ))
34 issue=$( printf "%02d" $issue )
37 exec >"Meta/$lead/$issue.txt"
40 To: git@vger.kernel.org
41 Subject: What's cooking in git.git ($monthname $year, #$issue; $dow, $date)
42 X-master-at: $master_at
45 What's cooking in git.git ($monthname $year, #$issue; $dow, $date)
46 --------------------------------------------------
52 git ls-tree -r --name-only HEAD "whats/cooking" | tail -n 1
55 sed -e 's/^\[New Topics\]$/[Old New Topics]/' "Meta/$last" |