| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Basic Python binding to: - Add a new worktree (Repository#add_worktree(name, path) --> None) - List existing worktrees (Repository#list_worktrees() --> [string]
In this commit I added a new PyObject: Worktree. This is the binding of git_worktree from libgit2. Still have to implement prune, lock and unlock but you can at list get Worktree name and path.
Implemented Repository#lookup_worktree(name) -> Worktree
Implemented method and getter: - Worktree#prune(force=False) - Worktree#is_prunable
|
Hi, thanks for the rebase. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is a rebased version of #691 (with a tiny modification to use add+prune opts) if the original author doesn't get around to updating it.