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 d243362 commit 04d0425Copy full SHA for 04d0425
diff-so-fancy
@@ -15,7 +15,7 @@ format_diff_header () {
15
sed -E "s/^($color_code_regex)diff --git .*$//g" | \
16
sed -E "/$git_index_line_pattern/{N;s/$git_index_line_pattern\n//}" | \
17
sed -E "s/^($color_code_regex)\-\-\-(.*)$/\1$(print_horizontal_rule)\\
18
-\-\-\-\5/g" |
+\1\-\-\-\5/g" |
19
sed -E "s/^($color_code_regex)\+\+\+(.*)$/\1\+\+\+\5\\
20
\1$(print_horizontal_rule)/g"
21
}
0 commit comments