Skip to content

feat: Migrate git backend to gix#117

Open
davidkna-sap wants to merge 1 commit into
stippi:mainfrom
davidkna-sap:gix
Open

feat: Migrate git backend to gix#117
davidkna-sap wants to merge 1 commit into
stippi:mainfrom
davidkna-sap:gix

Conversation

@davidkna-sap
Copy link
Copy Markdown

This PR replaces git2 with rust-native gix.

Authored via CC as this project not fully working on my system, and as such mostly tested via the unit test setup.

Possible regressions: gix does not yet fully support reftable, sparse indices and sha256 repos, thought some of these are also lacking in libgit2 iirc.

Also optimised GitBinary::command with GIT_OPTIONAL_LOCKS a bit. By the way I would argue disabling core.fsmonitor is less useful If you are still executing git hooks.

@stippi
Copy link
Copy Markdown
Owner

stippi commented May 22, 2026

Hey, thrilled to get a PR from you! I am on vacation and left any computer at home. So will take a closer look with a slight delay. The git stuff is currently not very well tested. I wanted to add worktree support (the dropdown below the input area) but then worked in projects that have no git at the root for the most part. Feel free to come up with ideas for UX towards supporting that setup. Checkpoints and a "diff view" are also on my mind.

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