Skip to content

Commit 5fe104d

Browse files
committed
Do not add extra space after ^[[m
This would cause the `+` line after `-` to be indented by one.
1 parent a322233 commit 5fe104d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-diff-blame

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ while (<$diff>) {
7272
print " ", get_blame_prefix(scalar <$pre>), "\t", $_;
7373
scalar <$post>; # discard
7474
} elsif (m{^\-}) {
75-
print "[31m - ", get_blame_prefix(scalar <$pre>), "\t", $_,"[m ";
75+
print "[31m - ", get_blame_prefix(scalar <$pre>), "\t", $_,"[m";
7676
} elsif (m{^\+}) {
77-
print "[32m + ", get_blame_prefix(scalar <$post>), "\t", $_,"[m ";
77+
print "[32m + ", get_blame_prefix(scalar <$post>), "\t", $_,"[m";
7878
}
7979
}

0 commit comments

Comments
 (0)