diff options
author | Russell Belfer <rb@github.com> | 2012-08-09 19:43:25 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-08-24 11:00:27 -0700 |
commit | 5f4a61aea834fe25ce1596bc9c0e0b5e563aa98b (patch) | |
tree | da0237ee649e009b5f914dfdace54d26e819aaaf /include/git2/oid.h | |
parent | 0c8858de8c82bae3fd88513724689a07d231da7e (diff) | |
download | libgit2-5f4a61aea834fe25ce1596bc9c0e0b5e563aa98b.tar.gz |
Working implementation of git_submodule_status
This is a big redesign of the git_submodule_status API and the
implementation of the redesigned API. It also fixes a number of
bugs that I found in other parts of the submodule API while
writing the tests for the status part.
This also fixes a couple of bugs in the iterators that had not
been noticed before - one with iterating when there is a gitlink
(i.e. separate-work-dir) and one where I was treating anything
even vaguely submodule-like as a submodule, more aggressively
than core git does.
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r-- | include/git2/oid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index 887b33e50..9e54a9f96 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -185,6 +185,8 @@ GIT_EXTERN(int) git_oid_streq(const git_oid *a, const char *str); /** * Check is an oid is all zeros. + * + * @return 1 if all zeros, 0 otherwise. */ GIT_EXTERN(int) git_oid_iszero(const git_oid *a); |