Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs: convert read_raw_ref backends to struct object_id
[gitweb.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index 131485b3a6f029253f4a79fb79ef08aa6bc01cc7..7766196aff5afc639b6cc8ccd76a65af9de96500 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-201,7
+201,7
@@
static int ce_compare_gitlink(const struct cache_entry *ce)
*
* If so, we consider it always to match.
*/
- if (resolve_gitlink_ref(ce->name, "HEAD",
oid.hash
) < 0)
+ if (resolve_gitlink_ref(ce->name, "HEAD",
&oid
) < 0)
return 0;
return oidcmp(&oid, &ce->oid);
}