diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-08 17:28:35 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-16 00:16:47 +0100 |
| commit | 5d92e54745eaad2c89aa6457d504411ceee3a4f4 (patch) | |
| tree | 2b417c13f9bc008dff9bad153eeb5b74c5a09fb8 /examples/fetch.c | |
| parent | fef847ae57d74e93563bc04222d9da7007fffc4f (diff) | |
| download | libgit2-5d92e54745eaad2c89aa6457d504411ceee3a4f4.tar.gz | |
oid: `is_zero` instead of `iszero`
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 'examples/fetch.c')
| -rw-r--r-- | examples/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fetch.c b/examples/fetch.c index 7f8e2317f..3b1fad11a 100644 --- a/examples/fetch.c +++ b/examples/fetch.c @@ -21,7 +21,7 @@ static int update_cb(const char *refname, const git_oid *a, const git_oid *b, vo git_oid_fmt(b_str, b); b_str[GIT_OID_HEXSZ] = '\0'; - if (git_oid_iszero(a)) { + if (git_oid_is_zero(a)) { printf("[new] %.20s %s\n", b_str, refname); } else { git_oid_fmt(a_str, a); |
