diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-08 17:28:35 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-08 17:28:35 -0500 |
commit | e2d4f89c4999327c8eb1cf47b38fab43756b6c13 (patch) | |
tree | ff7b387caad5bba97799f150b51cd972158f0de1 /include/git2/oid.h | |
parent | e50d138e898dd034161663873f75716086266f86 (diff) | |
download | libgit2-ethomson/is_and_from.tar.gz |
oid: `is_zero` instead of `iszero`ethomson/is_and_from
The only function that is named `issomething` (without underscore) was
`git_oid_iszero`. Rename it to `git_oid_is_zero` for consistency with
the rest of the library.
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r-- | include/git2/oid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index 7e071bac7..8f27c1365 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -207,7 +207,7 @@ GIT_EXTERN(int) git_oid_strcmp(const git_oid *id, const char *str); * * @return 1 if all zeros, 0 otherwise. */ -GIT_EXTERN(int) git_oid_iszero(const git_oid *id); +GIT_EXTERN(int) git_oid_is_zero(const git_oid *id); /** * OID Shortener object |