mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
fetch: support filters
Teach fetch to support filters. This is only allowed for the remote configured in extensions.partialcloneremote. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a1743343f4
commit
acb0c57260
@@ -56,6 +56,8 @@ int check_connected(sha1_iterate_fn fn, void *cb_data,
|
||||
argv_array_push(&rev_list.args,"rev-list");
|
||||
argv_array_push(&rev_list.args, "--objects");
|
||||
argv_array_push(&rev_list.args, "--stdin");
|
||||
if (repository_format_partial_clone)
|
||||
argv_array_push(&rev_list.args, "--exclude-promisor-objects");
|
||||
argv_array_push(&rev_list.args, "--not");
|
||||
argv_array_push(&rev_list.args, "--all");
|
||||
argv_array_push(&rev_list.args, "--quiet");
|
||||
|
||||
Reference in New Issue
Block a user