]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sha1-name.c
convert "oidcmp() == 0" to oideq()
[thirdparty/git.git] / sha1-name.c
index c9cc1318b7394e86704bda95651c9a4db3015b9a..a0c8451d55261f433483f8cdc7b5f254996926a1 100644 (file)
@@ -44,7 +44,7 @@ static void update_candidates(struct disambiguate_state *ds, const struct object
                oidcpy(&ds->candidate, current);
                ds->candidate_exists = 1;
                return;
-       } else if (!oidcmp(&ds->candidate, current)) {
+       } else if (oideq(&ds->candidate, current)) {
                /* the same as what we already have seen */
                return;
        }