Message ID | 0c2ab523e74be6f39b82c8fc9c73b4ac57f9963e.1645289086.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d526b4dbe1ab5bb7dfa9502237da81b940be876c |
Headers | show |
Series | [v5,1/5] sparse-checkout: correct reapply's handling of options | expand |
diff --git a/builtin/sparse-checkout.c b/builtin/sparse-checkout.c index fcd574f5fc1..fb85a1459c3 100644 --- a/builtin/sparse-checkout.c +++ b/builtin/sparse-checkout.c @@ -403,6 +403,7 @@ static int update_modes(int *cone_mode, int *sparse_index) core_sparse_checkout_cone = 1; } else { mode = MODE_ALL_PATTERNS; + core_sparse_checkout_cone = 0; } if (record_mode && set_config(mode)) return 1;