Skip to content

Commit

Permalink
Merge pull request #392 from wren/patch-intent-35
Browse files Browse the repository at this point in the history
Include new files in patch mode
  • Loading branch information
scottchiefbaker committed Dec 23, 2020
2 parents 9eb2817 + 8a8f827 commit ac392fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diff-so-fancy
Expand Up @@ -288,6 +288,9 @@ sub do_dsf_stuff {
} elsif ($remove_file_add_header && $line =~ /^${ansi_color_regex}.*new file mode/) {
# Don't print the line (i.e. remove it from the output);
$last_file_mode = "add";
if ($patch_mode) {
print "\n";
}
######################################
# Remove any delete file permissions #
######################################
Expand Down

0 comments on commit ac392fa

Please sign in to comment.