Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Consider making README.md mention that color settings in .gitconfig can override delta's colors #1640

Open
derat opened this issue Feb 25, 2024 · 0 comments

Comments

@derat
Copy link

derat commented Feb 25, 2024

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:

[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. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant