Skip to content

Commit

Permalink
Merge pull request dmnd#4 from blueyed/no-space-after-reset
Browse files Browse the repository at this point in the history
Do not add extra space after `^[[m`
  • Loading branch information
dmnd committed Apr 24, 2016
2 parents 698ea73 + 5fe104d commit 5bf930d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-diff-blame
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ while (<$diff>) {
print " ", get_blame_prefix(scalar <$pre>), "\t", $_;
scalar <$post>; # discard
} elsif (m{^\-}) {
print "[31m - ", get_blame_prefix(scalar <$pre>), "\t", $_,"[m ";
print "[31m - ", get_blame_prefix(scalar <$pre>), "\t", $_,"[m";
} elsif (m{^\+}) {
print "[32m + ", get_blame_prefix(scalar <$post>), "\t", $_,"[m ";
print "[32m + ", get_blame_prefix(scalar <$post>), "\t", $_,"[m";
}
}

0 comments on commit 5bf930d

Please sign in to comment.