diff options
author | Elijah Newren <newren@gmail.com> | 2020-03-27 00:48:53 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-27 11:33:30 -0700 |
commit | f56f31af0301f6446f8689ba1a997d74fb82f45f (patch) | |
tree | 3aebd0beeaec2d800c2a2109881dac5069dc0010 /gettext.c | |
parent | unpack-trees: add a new update_sparsity() function (diff) | |
download | tgif-f56f31af0301f6446f8689ba1a997d74fb82f45f.tar.xz |
sparse-checkout: use new update_sparsity() function
Remove the equivalent of 'git read-tree -mu HEAD' in the sparse-checkout
codepaths for setting the SKIP_WORKTREE bits and instead use the new
update_sparsity() function.
Note that when an issue is hit, the error message splits 'error' and
'Cannot update sparse checkout' on separate lines. For now, we use two
greps to find both pieces of the error message but subsequent commits
will clean up the messages reported to the user.
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gettext.c')
0 files changed, 0 insertions, 0 deletions