diff options
author | Elijah Newren <newren@gmail.com> | 2021-12-14 04:09:04 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-15 11:48:21 -0800 |
commit | 0b624e039cc2c9e30333445e8c67002f41d63678 (patch) | |
tree | a9adfddda2f805fe203183982e56af14d2dc5a8c /Documentation/rev-list-description.txt | |
parent | sparse-checkout: pass use_stdin as a parameter instead of as a global (diff) | |
download | tgif-0b624e039cc2c9e30333445e8c67002f41d63678.tar.xz |
sparse-checkout: break apart functions for sparse_checkout_(set|add)
sparse_checkout_set() was reused by sparse_checkout_add() with the only
difference being a single parameter being passed to that function.
However, we would like sparse_checkout_set() to do the same work that
sparse_checkout_init() does if sparse checkouts are not already enabled.
To facilitate this transition, give each mode their own copy of the
function. This does not introduce any behavioral changes; that will
come in a subsequent patch.
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Victoria Dye <vdye@github.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/rev-list-description.txt')
0 files changed, 0 insertions, 0 deletions