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
.... it seems that cherrypick_state_cleanup() should be invoked on success, not on error, hence:
+ cherrypick_state_cleanup(repo); /// MUST do it here
goto done;
on_error:
- // cherrypick_state_cleanup(repo); // here it's inverted!, so drop it
done:
git_indexwriter_cleanup(&indexwriter);
....