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 d92fbaa commit 8f39d54Copy full SHA for 8f39d54
diff-so-fancy
@@ -225,8 +225,13 @@ sub do_dsf_stuff {
225
########################################
226
# Check for "@@ -3,41 +3,63 @@" syntax #
227
228
- } elsif ($line =~ /^${ansi_color_regex}(@@@* .+? @@@*)(.*)/) {
229
- $in_hunk = 1;
+ } elsif (!$change_hunk_indicators && $line =~ /^${ansi_color_regex}(@@@* .+? @@@*)(.*)/) {
+ $in_hunk = 1;
230
+
231
+ print $line;
232
+ } elsif ($change_hunk_indicators && $line =~ /^${ansi_color_regex}(@@@* .+? @@@*)(.*)/) {
233
234
235
my $hunk_header = $4;
236
my $remain = bleach_text($5);
237
0 commit comments