summaryrefslogtreecommitdiff
path: root/include/git2/oid.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-08 17:28:35 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-08 17:28:35 -0500
commite2d4f89c4999327c8eb1cf47b38fab43756b6c13 (patch)
treeff7b387caad5bba97799f150b51cd972158f0de1 /include/git2/oid.h
parente50d138e898dd034161663873f75716086266f86 (diff)
downloadlibgit2-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.h2
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