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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not handle --word-diff or --color-words output #807

Merged
merged 3 commits into from
Nov 29, 2021
Merged

Conversation

dandavison
Copy link
Owner

Fixes #440 Ref #152

Delta does not understand --word-diff nor --color-words output. As a first step towards improving what delta offers regarding "squashed diffs", this PR stops delta doing anything at all to these forms of output from git.

The detection is by inspecting the parent process, so it won't work in general when input is piped to delta, but it will work when delta is configured as git's pager.

@dandavison dandavison changed the base branch from process_cleanup to master November 29, 2021 13:40
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

Successfully merging this pull request may close these issues.

🐛 odd color-words colouring
1 participant