Skip to content

Comments

Switch use libgit2 for diff, remove runtime dependency on git#20

Merged
quodlibetor merged 1 commit intomainfrom
libgit2-diff
Mar 4, 2024
Merged

Switch use libgit2 for diff, remove runtime dependency on git#20
quodlibetor merged 1 commit intomainfrom
libgit2-diff

Conversation

@quodlibetor
Copy link
Owner

There was only one remaining use of the external git dependency in git-instafix, and it was just to print diffs.

Replacing that with our home-grown git diff code is currently a slightly worse experience (it doesn't respect user's git diff config) but it is good enough, and it sets this up for a long term of having significantly more control.

This also resolves a slight annoyance in the nix package (from this comment)

@quodlibetor quodlibetor force-pushed the libgit2-diff branch 3 times, most recently from 4a18095 to 439b389 Compare March 4, 2024 00:25
@quodlibetor quodlibetor force-pushed the libgit2-diff branch 3 times, most recently from c0bc930 to 3c1f5d9 Compare March 4, 2024 02:31
@quodlibetor quodlibetor merged commit a01d0f5 into main Mar 4, 2024
@quodlibetor quodlibetor deleted the libgit2-diff branch March 4, 2024 02:37
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.

1 participant