| 1 | #!/bin/sh |
| 2 | |
| 3 | MASTER=master |
| 4 | BASE=${1-HEAD} |
| 5 | |
| 6 | ( |
| 7 | echo seen |
| 8 | sed -ne 's/^\* \([^ ]*\) ([-0-9]*) [1-9][0-9]* commits\{0,1\}$/\1/p' \ |
| 9 | Meta/whats-cooking.txt | |
| 10 | while read branch |
| 11 | do |
| 12 | git show-ref "refs/heads/$branch" >/dev/null && |
| 13 | echo "$branch" |
| 14 | done |
| 15 | git -C Meta/ cat-file blob "${BASE}:whats-cooking.txt" | |
| 16 | sed -ne "s/^X-$MASTER-at: / --not /p" -e '/^$/q' |
| 17 | ) | |
| 18 | xargs git shortlog -s -e --no-merges | |
| 19 | sed -e 's/.*</ </' -e '$q' -e 's/$/,/' |