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 5d567c1 commit c60e02cCopy full SHA for c60e02c
diff-so-fancy
@@ -121,7 +121,7 @@ my $line_count = 0;
121
while (my $line = <STDIN>) {
122
# If the very first line of the diff doesn't start with ANSI color we're assuming
123
# it's a raw patch file, and we have to color the added/removed lines ourself
124
- if (!$color_forced && $line_count == 0 && starts_with_ansi($line)) {
+ if (!$color_forced && $line_count == 0 && !starts_with_ansi($line)) {
125
$manually_color_lines = 1;
126
}
127
0 commit comments