summaryrefslogtreecommitdiff
path: root/src/diff_file.c
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 /src/diff_file.c
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 'src/diff_file.c')
-rw-r--r--src/diff_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_file.c b/src/diff_file.c
index ae1016d9a..d507c755f 100644
--- a/src/diff_file.c
+++ b/src/diff_file.c
@@ -232,7 +232,7 @@ static int diff_file_content_load_blob(
int error = 0;
git_odb_object *odb_obj = NULL;
- if (git_oid_iszero(&fc->file->id))
+ if (git_oid_is_zero(&fc->file->id))
return 0;
if (fc->file->mode == GIT_FILEMODE_COMMIT)