Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
packfile: add repository argument to retry_bad_packed_offset
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index 1289df4b1f9f395010e475073c2c5e5ce43976a7..4753170fe1296c87579db3376aa5a625b0042f19 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-3638,7
+3638,8
@@
int diff_populate_filespec(struct diff_filespec *s, unsigned int flags)
else {
enum object_type type;
if (size_only || (flags & CHECK_BINARY)) {
- type = oid_object_info(&s->oid, &s->size);
+ type = oid_object_info(the_repository, &s->oid,
+ &s->size);
if (type < 0)
die("unable to read %s",
oid_to_hex(&s->oid));