FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Rebased worktrees by nhynes · Pull Request #719 · libgit2/pygit2 · GitHub

Repository navigation

Rebased worktrees - #719

Closed
nhynes wants to merge 7 commits into
libgit2:masterfrom
nhynes:rebased-worktrees
Closed

nhynes wants to merge 7 commits into
libgit2:masterfrom
nhynes:rebased-worktrees

Conversation

nhynes commented Jul 28, 2017 •
edited
Loading

Copy link
Copy Markdown
Contributor

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.

Raphael Medaer (Escaux) added 5 commits July 28, 2017 06:45
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
nhynes force-pushed the rebased-worktrees branch from 7be393f to 353ba8d Compare July 28, 2017 13:51
nhynes force-pushed the rebased-worktrees branch from 40286b9 to 8e8cb18 Compare July 29, 2017 01:55

jdavid commented Aug 8, 2017

Copy link
Copy Markdown
Member

Hi, thanks for the rebase.
Would you like to add some unit tests?

jdavid commented Mar 18, 2018

Copy link
Copy Markdown
Member

Merged #779

jdavid closed this Mar 18, 2018
nhynes deleted the rebased-worktrees branch March 18, 2018 22:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL