Skip to content
Permalink
Browse files

Merge pull request #1379 from atetubou/object_info_quick

fetch-pack: specify OBJECT_INFO_QUICK to remove duplicate prepare_pac…
  • Loading branch information...
dscho committed Nov 28, 2017
2 parents 3aaabcf + ff4a783 commit 289598f694d6d69fcf9f33b261b62446364e9ac3
Showing with 2 additions and 1 deletion.
  1. +2 −1 fetch-pack.c
@@ -717,7 +717,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);

0 comments on commit 289598f

Please sign in to comment.
You can’t perform that action at this time.