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

Minimise diff options. #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Cimbali
Copy link
Collaborator

@Cimbali Cimbali commented Apr 22, 2024

This PR processes the full raw diff in vim on file save, rather than using diff options to do the heavy lifting. I’ve been running it for a couple of months and didn’t see any issues, performance or otherwise.

Note that the “full diff” still is only the new/deleted/changed lines so likely a small amount for every save.

This allows to support platforms with out-of-date diff versions such as macOS (#159, #164)

@Cimbali Cimbali requested a review from ntpeters April 22, 2024 09:58
@pjt
Copy link

pjt commented Jun 24, 2024

+1 for seeing this PR get pulled in. Thanks!

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.

2 participants