diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-11 20:49:12 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-11 20:49:12 (GMT) |
commit | d02343b5991d2dc24953fc0bda05f4c6fcde2781 (patch) | |
tree | 77881018d143fcbf24013dcf7a5771ef1bfca7a3 /git.c | |
parent | f285f68a132109c234d93490671c00218066ace9 (diff) | |
parent | 00408adeac13f6c16f93a3856961f7b327485c6b (diff) | |
download | git-d02343b5991d2dc24953fc0bda05f4c6fcde2781.zip git-d02343b5991d2dc24953fc0bda05f4c6fcde2781.tar.gz git-d02343b5991d2dc24953fc0bda05f4c6fcde2781.tar.bz2 |
Merge branch 'ws/sparse-check-rules'
"git sparse-checkout" command learns a debugging aid for the sparse
rule definitions.
* ws/sparse-check-rules:
builtin/sparse-checkout: add check-rules command
builtin/sparse-checkout: remove NEED_WORK_TREE flag
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -587,7 +587,7 @@ static struct cmd_struct commands[] = { { "show-branch", cmd_show_branch, RUN_SETUP }, { "show-index", cmd_show_index, RUN_SETUP_GENTLY }, { "show-ref", cmd_show_ref, RUN_SETUP }, - { "sparse-checkout", cmd_sparse_checkout, RUN_SETUP | NEED_WORK_TREE }, + { "sparse-checkout", cmd_sparse_checkout, RUN_SETUP }, { "stage", cmd_add, RUN_SETUP | NEED_WORK_TREE }, { "stash", cmd_stash, RUN_SETUP | NEED_WORK_TREE }, { "status", cmd_status, RUN_SETUP | NEED_WORK_TREE }, |