diff options
author | Elijah Newren <newren@gmail.com> | 2022-02-19 16:44:41 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-20 00:01:15 -0800 |
commit | f748012e01109d04d3e956e26557a7fb4f92ce47 (patch) | |
tree | 644823ced03b34a8ca9c747a3278a33a18285d5d /sequencer.h | |
parent | The third batch (diff) | |
download | tgif-f748012e01109d04d3e956e26557a7fb4f92ce47.tar.xz |
sparse-checkout: correct reapply's handling of options
Commit 4e256731d6 ("sparse-checkout: enable reapply to take
--[no-]{cone,sparse-index}", 2021-12-14) made it so that reapply could
take additional options but added no tests. Tests would have shown that
the feature doesn't work because the initial values are set AFTER
parsing the command line options instead of before. Add a test and set
the initial value at the appropriate time.
Reviewed-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
0 files changed, 0 insertions, 0 deletions