From cb56426943c7cb5bce5eb67b830b84f4a99aa6eb Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 6 Feb 2017 14:34:37 -0800 Subject: [PATCH] Meta/WCBCC: an experiment --- WCBCC | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 WCBCC 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/.*