mirror of
https://github.com/git/git.git
synced 2026-01-23 00:47:02 +00:00
Merge pull request #1379 from atetubou/object_info_quick
fetch-pack: specify OBJECT_INFO_QUICK to remove duplicate prepare_pac…
This commit is contained in:
@@ -716,7 +716,8 @@ static int everything_local(struct fetch_pack_args *args,
|
||||
for (ref = *refs; ref; ref = ref->next) {
|
||||
struct object *o;
|
||||
|
||||
if (!has_object_file(&ref->old_oid))
|
||||
if (!has_object_file_with_flags(&ref->old_oid,
|
||||
OBJECT_INFO_QUICK))
|
||||
continue;
|
||||
|
||||
o = parse_object(&ref->old_oid);
|
||||
|
||||
Reference in New Issue
Block a user