Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
convert "hashcmp() == 0" to hasheq()
[gitweb.git]
/
sha1-name.c
diff --git
a/sha1-name.c
b/sha1-name.c
index c9cc1318b7394e86704bda95651c9a4db3015b9a..a0c8451d55261f433483f8cdc7b5f254996926a1 100644
(file)
--- a/
sha1-name.c
+++ b/
sha1-name.c
@@
-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;
}