16 print STDERR
"Checking <$name>..."
19 qw(git log -1 --no-merges),
23 print STDERR
"opening pipe to read from git log failed\n"
25 $map->{$name} = $name;
31 print STDERR
"read <$line> from git log\n"
33 $map->{$name} = $line;
35 print STDERR
"read false ($line) from git log\n"
37 $map->{$name} = $name;
46 sub add_more_bylines
{
47 if (@more && !defined $append) {
48 my %names = map { $_->[1] => 1 } @more;
51 find_author
(\
%map, keys (%names));
53 my ($tag, $name) = @
$_;
55 push @append, "$tag: $map{$name}";
58 $append = join("\n", @append) . "\n";
68 exit 1 unless (GetOptions
("signed-off-by=s" => \
&accumulate
,
69 "acked-by=s" => \
&accumulate
,
70 "reviewed-by=s" => \
&accumulate
,
71 "tested-by=s" => \
&accumulate
,
72 "helped-by=s" => \
&accumulate
,
73 "check-only!" => \
$check_only,
83 if (/^[-A-Za-z]+-by: /) {