Meta/WCBCC: an experiment

This commit is contained in:
Junio C Hamano
2017-02-06 14:34:37 -08:00
parent d194027b76
commit cb56426943

17
WCBCC Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
BASE=${1-HEAD}
(
echo pu
sed -ne 's/^\* \([^ ]*\) ([-0-9]*) [1-9][0-9]* commits\{0,1\}$/\1/p' \
Meta/whats-cooking.txt
git -C Meta/ cat-file blob "${BASE}:whats-cooking.txt" |
sed -ne 's/^X-master-at: / --not /p' -e '/^$/q'
) |
xargs git shortlog -s -e --no-merges |
sed -e 's/.*</ </' -e '$q' -e 's/$/,/'