Skip to content

Commit b4eff45

Browse files
committed
bugfix for using diff-so-fancy as git diff with my config
There's a bug in diff-so-fancy which breaks when used as git diff with some values in my git config colors I commented it out. The issue is being worked on in diff-so-fance so-fancy/diff-so-fancy#438
1 parent b44e6e1 commit b4eff45

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

git/gitconfig.symlink

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@
116116
current = green bold
117117
local = green
118118
remote = red bold
119-
[color "diff"]
120-
meta = yellow bold
121-
frag = magenta bold
122-
plain = white bold
123-
old = red bold reverse
124-
new = green bold reverse
125-
commit = yellow bold
126-
func = green dim
127-
whitespace = white reverse
119+
#[color "diff"] comment out due to bug https://github.com/so-fancy/diff-so-fancy/issues/438
120+
# meta = yellow bold
121+
# frag = magenta bold
122+
# plain = white bold
123+
# old = red bold reverse
124+
# new = green bold reverse
125+
# commit = yellow bold
126+
# func = green dim
127+
# whitespace = white reverse
128128
[color "status"]
129129
added = yellow
130130
changed = green

0 commit comments

Comments
 (0)