summaryrefslogtreecommitdiff
path: root/credential.c
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2021-12-14 04:09:04 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-15 11:48:21 -0800
commit0b624e039cc2c9e30333445e8c67002f41d63678 (patch)
treea9adfddda2f805fe203183982e56af14d2dc5a8c /credential.c
parentsparse-checkout: pass use_stdin as a parameter instead of as a global (diff)
downloadtgif-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 'credential.c')
0 files changed, 0 insertions, 0 deletions