Merge branch 'jt/push-avoid-lazy-fetch'
Performance hack. * jt/push-avoid-lazy-fetch: send-pack: never fetch when checking exclusions
This commit is contained in:
commit
c7d2cedec2
@ -40,7 +40,8 @@ int option_parse_push_signed(const struct option *opt,
|
||||
|
||||
static void feed_object(const struct object_id *oid, FILE *fh, int negative)
|
||||
{
|
||||
if (negative && !has_object_file(oid))
|
||||
if (negative &&
|
||||
!has_object_file_with_flags(oid, OBJECT_INFO_SKIP_FETCH_OBJECT))
|
||||
return;
|
||||
|
||||
if (negative)
|
||||
|
Loading…
Reference in New Issue
Block a user