Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: convert sha1_object_info* to object_id
[gitweb.git]
/
object.c
diff --git
a/object.c
b/object.c
index 68bcf35d955a03f87ffe956de08fb3f7c30791a1..4063e955dba1c32de6bd878324df858be3b0f164 100644
(file)
--- a/
object.c
+++ b/
object.c
@@
-254,7
+254,7
@@
struct object *parse_object(const struct object_id *oid)
if ((obj && obj->type == OBJ_BLOB && has_object_file(oid)) ||
(!obj && has_object_file(oid) &&
-
sha1_object_info(oid->hash
, NULL) == OBJ_BLOB)) {
+
oid_object_info(oid
, NULL) == OBJ_BLOB)) {
struct object_id reploid;
hashcpy(reploid.hash, repl);