Skip to content

Cherry-pick recipe: clean up after picking#523

Merged
jdavid merged 1 commit intolibgit2:masterfrom
rmoehn:cherry-pick-cleanup
May 3, 2015
Merged

Cherry-pick recipe: clean up after picking#523
jdavid merged 1 commit intolibgit2:masterfrom
rmoehn:cherry-pick-cleanup

Conversation

@rmoehn
Copy link
Contributor

@rmoehn rmoehn commented Apr 25, 2015

In b3025e3 I had written that when following my recipe, the repository
remains in cherry-picking mode afterwards. In issue #516 I was told that
Repository.state_cleanup() is needed to correct that. Therefore add it
to the recipe.

Also add a note near the documentation for cherry-pick, so that nobody
will overlook this again. Apparently there are other times when you need
to do Repository.state_cleanup() as well, but it's not documented, I
don't know when and I don't want to take the time and find out. So leave
it at that for now.

In b3025e3 I had written that when following my recipe, the repository
remains in cherry-picking mode afterwards. In issue libgit2#516 I was told that
Repository.state_cleanup() is needed to correct that. Therefore add it
to the recipe.

Also add a note near the documentation for cherry-pick, so that nobody
will overlook this again. Apparently there are other times when you need
to do Repository.state_cleanup() as well, but it's not documented, I
don't know when and I don't want to take the time and find out. So leave
it at that for now.
@jdavid jdavid merged commit 654e4bf into libgit2:master May 3, 2015
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