X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=fast-import.c;h=f8c3acd3b5577caa24c13402ea2b6f733e41aec5;hb=e68a5272b1aab46514ae01745be50948ac375146;hp=89bb0c9db3de9b380aad53709d882cb04f7d054a;hpb=a14a9bfc132f8fe80cca33d14b1acbcda945de13;p=thirdparty%2Fgit.git diff --git a/fast-import.c b/fast-import.c index 89bb0c9db3..f8c3acd3b5 100644 --- a/fast-import.c +++ b/fast-import.c @@ -1068,7 +1068,7 @@ static int store_object( duplicate_count_by_type[type]++; return 1; } else if (find_sha1_pack(oid.hash, - get_packed_git(the_repository))) { + get_all_packs(the_repository))) { e->type = type; e->pack_id = MAX_PACK_ID; e->idx.offset = 1; /* just not zero! */ @@ -1266,7 +1266,7 @@ static void stream_blob(uintmax_t len, struct object_id *oidout, uintmax_t mark) truncate_pack(&checkpoint); } else if (find_sha1_pack(oid.hash, - get_packed_git(the_repository))) { + get_all_packs(the_repository))) { e->type = OBJ_BLOB; e->pack_id = MAX_PACK_ID; e->idx.offset = 1; /* just not zero! */