From: Junio C Hamano Date: Mon, 6 Feb 2017 22:34:37 +0000 (-0800) Subject: Meta/WCBCC: an experiment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb56426943c7cb5bce5eb67b830b84f4a99aa6eb;p=thirdparty%2Fgit.git Meta/WCBCC: an experiment --- diff --git a/WCBCC b/WCBCC 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/.*