2 # Annotate the output of "get-followups -d" to show the stats
7 die "Feed this the output of 'get-followups -d'\n" if -t 0;
10 unless ( /([0-da-f]{8}) .*/ ) {
17 if ( $cid eq 'd02b48c6' ) {
18 print "931 +17534 -0 ", $_;
21 my $pattern = "$cid^..$cid";
26 open my $F, "git diff --numstat $pattern|"
27 || die "Can't open git diff, $!\n";
30 next unless /(\d+)\s+(\d+)\s+(.*)/;
33 $name = $3 if $name eq '';
35 close $F || die "Can't close git diff, $!\n";
37 print "$name +$adds -$dels $line";
39 print "$files +$adds -$dels $line";