Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t1450: use "mv -f" within loose object directory
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index c141a398acd0a5e43e049f37d3f49b6ced70a14a..b37dbec378f3ae1a33d00d591c1042c609e45fa4 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-1275,7
+1275,7
@@
void add_index_objects_to_pending(struct rev_info *revs, unsigned flags)
if (S_ISGITLINK(ce->ce_mode))
continue;
- blob = lookup_blob(ce->
sha1
);
+ blob = lookup_blob(ce->
oid.hash
);
if (!blob)
die("unable to add index blob to traversal");
add_pending_object_with_path(revs, &blob->object, "",