Skip to content

Commit

Permalink
Reset color on context heading lines
Browse files Browse the repository at this point in the history
  • Loading branch information
keiththomps committed Sep 1, 2017
1 parent 06d9984 commit 493f2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion difflib/difflib.go
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ func WriteUnifiedDiff(writer io.Writer, diff UnifiedDiff) error {
noMark = " "
}

if err := wf("@@ -%s +%s @@%s", range1, range2, diff.Eol); err != nil {
if err := wf("%s@@ -%s +%s @@%s", noMark, range1, range2, diff.Eol); err != nil {
return err
}
for _, c := range g {
Expand Down

0 comments on commit 493f2c7

Please sign in to comment.