From: Junio C Hamano Date: Fri, 25 Feb 2022 23:47:35 +0000 (-0800) Subject: Merge branch 'js/apply-partial-clone-filters-recursively' X-Git-Tag: v2.36.0-rc0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e65591ed61ab488395c454004106a5e9424648e;p=thirdparty%2Fgit.git Merge branch 'js/apply-partial-clone-filters-recursively' "git clone --filter=... --recurse-submodules" only makes the top-level a partial clone, while submodules are fully cloned. This behaviour is changed to pass the same filter down to the submodules. * js/apply-partial-clone-filters-recursively: clone, submodule: pass partial clone filters to submodules --- 2e65591ed61ab488395c454004106a5e9424648e diff --cc builtin/submodule--helper.c index a0bffe96a1,11552970f2..eeacefcc38 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@@ -20,7 -20,7 +20,8 @@@ #include "diff.h" #include "object-store.h" #include "advice.h" +#include "branch.h" + #include "list-objects-filter-options.h" #define OPT_QUIET (1 << 0) #define OPT_CACHED (1 << 1)