You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closing as not planned after reviewing the motivation for this change.
The original goal was to avoid spawning Git processes. GitPython still invokes the installed Git executable for many operations, including worktree management, so switching to it would add a dependency without meeting that goal.
Dulwich implements Git directly and provides worktree APIs, but avoiding subprocesses alone does not justify switching git-worm to a different Git implementation. For a worktree manager, using Git itself keeps behavior aligned with the Git users already run, including repository configuration, checkout behavior, and worktree safety checks. A migration may be inexpensive to write, but validating and maintaining compatibility remains an ongoing cost. Removing the Git installation requirement also offers little benefit to this tool's intended users.
We can revisit this if benchmarks demonstrate a meaningful subprocess bottleneck, or if running without Git becomes a product requirement. The NUL-delimited filename handling improvements from PR #4 can be implemented independently of GitPython.
Activity
ThatXliner commentedon Sep 8, 2026
Closing as not planned after reviewing the motivation for this change.
The original goal was to avoid spawning Git processes. GitPython still invokes the installed Git executable for many operations, including worktree management, so switching to it would add a dependency without meeting that goal.
Dulwich implements Git directly and provides worktree APIs, but avoiding subprocesses alone does not justify switching git-worm to a different Git implementation. For a worktree manager, using Git itself keeps behavior aligned with the Git users already run, including repository configuration, checkout behavior, and worktree safety checks. A migration may be inexpensive to write, but validating and maintaining compatibility remains an ongoing cost. Removing the Git installation requirement also offers little benefit to this tool's intended users.
We can revisit this if benchmarks demonstrate a meaningful subprocess bottleneck, or if running without Git becomes a product requirement. The NUL-delimited filename handling improvements from PR #4 can be implemented independently of GitPython.