diff options
Diffstat (limited to 'git-annotate.perl')
-rwxr-xr-x | git-annotate.perl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-annotate.perl b/git-annotate.perl index 9df72a1662..a7aab2566d 100755 --- a/git-annotate.perl +++ b/git-annotate.perl @@ -208,6 +208,9 @@ sub find_parent_renames { while (my $change = <$patch>) { chomp $change; my $filename = <$patch>; + if (!defined $filename) { + next; + } chomp $filename; if ($change =~ m/^[AMD]$/ ) { |