@leroysheep / CrazyWebTemps / commits / cb56426943

Meta/WCBCC: an experiment

Junio C Hamano committed Feb 6, 2017 at 14:34 UTC cb56426943c7cb5bce5eb67b830b84f4a99aa6eb
1 file changed +17
WCBCC
+17
new file mode 100755 index 0000000000..e16d0a238a --- /dev/null +++ b/WCBCC @@ -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/$/,/' + + +