Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
packfile: add repository argument to reprepare_packed_git
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index 0989bbd948dcd025c89c73bbfe72ab7c735e3211..9c024cd957a3aa39635d0bcc67377dffbf2447ad 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-1274,7
+1274,7
@@
int sha1_object_info_extended(const unsigned char *sha1, struct object_info *oi,
return 0;
/* Not a loose object; someone else may have just packed it. */
- reprepare_packed_git();
+ reprepare_packed_git(
the_repository
);
if (find_pack_entry(real, &e))
break;