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 29, 2017
2 parents e45a859 + 1754c81 commit 81ab034ac9b601ef5a4f4ab53e910d9fe8047cb0
Showing with 2 additions and 1 deletion.
  1. +2 −1 fetch-pack.c
@@ -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);

0 comments on commit 81ab034

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