You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just spent an embarrassingly long time debugging why delta was displaying added and removed lines with my terminal's default background color instead of the configured background colors. Oddly, I only saw this problem when I ran e.g. git show; delta used the configured background colors when I ran e.g. git show | delta instead.
I finally figured out that it was due to a previously-added color "diff" section in my .gitconfig file:
[color "diff"]
meta = brightcyan
old = brightred
new = brightgreen
It'd helpful to make the "Get Started" section of README.md mention that settings like these can override delta's behavior to save other people some time. :-)
The text was updated successfully, but these errors were encountered:
New user here -- thanks for making delta!
I just spent an embarrassingly long time debugging why delta was displaying added and removed lines with my terminal's default background color instead of the configured background colors. Oddly, I only saw this problem when I ran e.g.
git show
; delta used the configured background colors when I ran e.g.git show | delta
instead.I finally figured out that it was due to a previously-added
color "diff"
section in my.gitconfig
file:It'd helpful to make the "Get Started" section of
README.md
mention that settings like these can override delta's behavior to save other people some time. :-)The text was updated successfully, but these errors were encountered: