This PR exposes libgit2's checkout and stash callbacks to Python code.
This lets you collect information about a checkout/unstash as it's being performed. You can also abort a checkout/unstash prematurely by raising an exception from one of the callbacks.
This PR exposes libgit2's checkout and stash callbacks to Python code.
This lets you collect information about a checkout/unstash as it's being performed. You can also abort a checkout/unstash prematurely by raising an exception from one of the callbacks.
Sample usage: