Checkout callbacks #321

Merged
netnose merged 6 commits from checkout-callbacks into master 2016-10-03 04:53:30 -05:00
1 changed files with 0 additions and 3 deletions
Showing only changes of commit 6ffad323ba - Show all commits

View File

@ -119,9 +119,6 @@ func checkoutNotifyCallback(why C.git_checkout_notify_t, cpath *C.char, cbaselin
//export checkoutProgressCallback
func checkoutProgressCallback(path *C.char, completed_steps, total_steps C.size_t, data unsafe.Pointer) int {
if data == nil {
return 0
}
opts := pointerHandles.Get(data).(*CheckoutOpts)
if opts.ProgressCallback == nil {
return 0