We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed3dc1d commit 9578ee6Copy full SHA for 9578ee6
git-diff-blame
@@ -11,7 +11,7 @@ sub parse_hunk_header {
11
12
sub get_blame_prefix {
13
my ($line) = @_;
14
- $line =~ /^([0-9a-f]+\s+(\S+\s+)?\([^\)]+\))/ or die "bad blame output: $line";
+ $line =~ /^(\^?[0-9a-f]+\s+(\S+\s+)?\([^\)]+\))/ or die "bad blame output: $line";
15
return $1;
16
}
17
0 commit comments