[PATCH 0/2] Fix overriding of partial clone filter when lazy-fetching
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- Sep 22, 2020, 03:03 UTC
- Message-ID
- <cover.1600743698.git.jonathantanmy@google.com>
This was noticed at $DAYJOB when in a partial clone with a filter other than blob:none. The 1st patch is a code cleanup (so that the 2nd patch does not need to take into account the unused variable), and the 2nd patch contains the bug fix.
Jonathan Tan (2): promisor-remote: remove unused variable fetch: do not override partial clone filter
builtin/fetch.c | 2 +- list-objects-filter-options.c | 10 +++++++++- promisor-remote.c | 5 ----- promisor-remote.h | 2 +- t/t5601-clone.sh | 5 +++++ 5 files changed, 16 insertions(+), 8 deletions(-)
-- 2.28.0.681.g6f77f65b4e-goog