Merge remote-tracking branch 'rmoehn/cherry-pick-cleanup'

This commit is contained in:
J. David Ibáñez 2015-05-03 11:37:57 +02:00
commit e46119838b
2 changed files with 6 additions and 0 deletions

@ -40,6 +40,10 @@ Cherrypick
.. automethod:: pygit2.Repository.cherrypick
Note that after a successful cherrypick you have to run
:py:meth:`.Repository.state_cleanup` in order to get the repository out
of cherrypicking mode.
Lower-level methods
===================

@ -30,6 +30,8 @@ working copy and on-disk index.
cherry.message, tree_id, [basket.target])
del basket # outdated, prevent from accidentally using it
repo.state_cleanup()
----------------------------------------------------------------------
Cherry-picking a commit without a working copy