We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 08f3630 + 8f72011 commit ed27751Copy full SHA for ed27751
contrib/contacts/git-contacts
@@ -96,8 +96,6 @@ sub scan_patches {
96
next unless $id;
97
if (m{^--- (?:a/(.+)|/dev/null)$}) {
98
$source = $1;
99
- } elsif (/^--- /) {
100
- die "Cannot parse hunk source: $_\n";
101
} elsif (/^@@ -(\d+)(?:,(\d+))?/ && $source) {
102
my $len = defined($2) ? $2 : 1;
103
push @{$sources->{$source}{$id}}, [$1, $len] if $len;
0 commit comments