]> git.proxmox.com Git - libgit2.git/commit - src/checkout.c
Fix checkout notify callback docs and tests
authorRussell Belfer <rb@github.com>
Tue, 10 Dec 2013 22:38:35 +0000 (14:38 -0800)
committerRussell Belfer <rb@github.com>
Wed, 11 Dec 2013 18:57:50 +0000 (10:57 -0800)
commitcbd048969e2d53790472118bf2d337cd1d90ca94
treea2f186fa4963a019c0bfdd0803606d61f3db1602
parent19853bdd97e006b6e4519bc352c3e8fd7586e9c3
Fix checkout notify callback docs and tests

The checkout notify callback behavior on non-zero return values
was not being tested.  This adds tests, fixes a bug with positive
values, and clarifies the documentation to make it clear that the
checkout can be canceled via this mechanism.
include/git2/checkout.h
src/checkout.c
tests/checkout/tree.c