]> git.proxmox.com Git - libgit2.git/commit
Update clone doc and tests for callback return val
authorRussell Belfer <rb@github.com>
Wed, 11 Dec 2013 00:02:24 +0000 (16:02 -0800)
committerRussell Belfer <rb@github.com>
Wed, 11 Dec 2013 18:57:51 +0000 (10:57 -0800)
commit8f1066a05f15ce0e3f91614cf9915162ce6447ee
treee788fb7b74efe4fbc89bd656427ac2df5450c9cd
parentcbd048969e2d53790472118bf2d337cd1d90ca94
Update clone doc and tests for callback return val

Clone callbacks can return non-zero values to cancel the clone.
This adds some tests to verify that this actually works and updates
the documentation to be clearer that this can happen and that the
return value will be propagated back by the clone function.
include/git2/clone.h
src/clone.c
tests/clone/nonetwork.c