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 3a7accb commit 9bb5bc7Copy full SHA for 9bb5bc7
diff-so-fancy
@@ -163,14 +163,13 @@ sub do_dsf_stuff {
163
#########################
164
# Look for the filename #
165
166
- # $4 $5 $6
167
- } elsif ($line =~ /^${ansi_color_regex}diff (-r|--git|--cc) (.*?) (.+?)(\s|\e|$)/) {
+ # $4 $5
+ } elsif ($line =~ /^${ansi_color_regex}diff (-r|--git|--cc) (.+?)(\s|\e|$)/) {
168
169
# Mercurial looks like: diff -r 82e55d328c8c hello.c
170
if ($4 eq "-r") {
171
$is_mercurial = 1;
172
$meta_color ||= get_config_color("meta");
173
- $last_file_seen = $6;
174
# Git looks like: diff --git a/diff-so-fancy b/diff-so-fancy
175
} else {
176
$last_file_seen = $5;
0 commit comments