diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-04-11 13:49:12 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-04-11 13:49:12 -0700 |
| commit | d02343b5991d2dc24953fc0bda05f4c6fcde2781 (patch) | |
| tree | 77881018d143fcbf24013dcf7a5771ef1bfca7a3 /git.c | |
| parent | mailmap: change primary address for Emily Shaffer (diff) | |
| parent | builtin/sparse-checkout: add check-rules command (diff) | |
| download | git-d02343b5991d2dc24953fc0bda05f4c6fcde2781.tar.gz git-d02343b5991d2dc24953fc0bda05f4c6fcde2781.zip | |
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 }, |
