-
Notifications
You must be signed in to change notification settings - Fork 402
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
🐛 Duplicate "renamed" header when file is renamed with changes #245
Comments
Hey @waldyrious, thanks.
Yes please. FWIW, with The algorithm in diff-highlight/diff-so-fancy is described thus:
In contrast, delta's algorithm is to tokenize into "words" defined by the customizable regex ( I've been thinking that it will probably make sense to implement the (deliberately) more simple-minded algorithm of diff-highlight as an alternative diff-highlighting algorithm in delta. Do you think |
For Homebrew/homebrew-cask-fonts#2188, I renamed a file and also edited it. Here's how delta shows the diff (with
diff-highlight
emulation and a couple extra customizations, which should only influence style, not semantics):And for comparison, here's how git shows it natively (without using a pager):
I would like delta to not show the renamed header twice.
The text was updated successfully, but these errors were encountered: