William Sprent
24fc2cde64
builtin/sparse-checkout: remove NEED_WORK_TREE flag
...
In preparation for adding a sub-command to 'sparse-checkout' that can be
run in a bare repository, remove the 'NEED_WORK_TREE' flag from its
entry in the 'commands' array of 'git.c'.
To avoid that this changes any behaviour, add calls to
'setup_work_tree()' to all of the 'sparse-checkout' sub-commands and add
tests that verify that 'sparse-checkout <cmd>' still fail with a clear
error message telling the user that the command needs a work tree.
Signed-off-by: William Sprent <williams@unity3d.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2023-03-27 10:43:51 -07:00
..
2023-02-06 15:03:34 -08:00
2023-03-17 14:03:10 -07:00
2023-03-06 13:14:45 -08:00
2023-03-19 15:03:11 -07:00
2023-02-23 17:25:29 -08:00
2023-02-14 14:15:55 -08:00
2022-11-21 12:32:48 +09:00
2023-03-19 15:03:12 -07:00
2023-03-17 14:03:09 -07:00
2023-01-14 08:49:55 -08:00
2022-11-21 12:06:15 +09:00
2023-02-23 17:25:29 -08:00
2022-07-01 11:43:42 -07:00
2023-02-23 17:25:28 -08:00
2022-11-21 12:06:15 +09:00
2023-03-19 15:03:12 -07:00
2023-02-22 14:55:45 -08:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:30 -08:00
2023-03-17 14:03:10 -07:00
2023-03-17 14:03:10 -07:00
2023-02-23 17:25:29 -08:00
2023-02-24 09:13:31 -08:00
2023-03-17 14:03:09 -07:00
2023-02-23 17:25:29 -08:00
2022-10-28 11:26:54 -07:00
2022-11-21 12:06:15 +09:00
2022-11-21 12:06:15 +09:00
2023-02-23 17:25:29 -08:00
2022-12-14 15:55:46 +09:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:29 -08:00
2023-03-17 14:03:09 -07:00
2023-02-23 17:25:29 -08:00
2023-03-19 15:03:13 -07:00
2022-11-14 22:39:25 -05:00
2023-03-17 14:03:09 -07:00
2023-02-23 17:25:28 -08:00
2023-03-17 14:03:09 -07:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:29 -08:00
2022-10-28 11:26:54 -07:00
2023-02-08 12:50:03 -08:00
2023-02-23 17:25:30 -08:00
2022-10-13 09:32:57 -07:00
2022-10-13 09:32:57 -07:00
2023-03-21 14:18:55 -07:00
2023-03-21 14:18:55 -07:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:29 -08:00
2022-07-01 11:43:43 -07:00
2023-02-23 17:25:29 -08:00
2022-11-21 12:06:15 +09:00
2023-02-23 17:25:29 -08:00
2023-03-17 14:03:10 -07:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:29 -08:00
2022-10-06 09:56:51 -07:00
2023-02-23 17:25:28 -08:00
2023-02-23 17:25:29 -08:00
2023-03-17 14:03:09 -07:00
2023-03-17 14:03:09 -07:00
2023-02-23 17:25:29 -08:00
2022-10-13 09:32:56 -07:00
2023-02-23 17:25:29 -08:00
2023-03-17 14:03:09 -07:00
2023-03-17 14:03:10 -07:00
2023-03-17 14:03:10 -07:00
2022-12-02 08:25:29 +09:00
2023-03-17 14:03:09 -07:00
2023-03-21 14:18:55 -07:00
2023-03-21 14:18:55 -07:00
2022-09-19 11:11:11 -07:00
2023-01-08 10:34:37 +09:00
2023-01-08 10:34:35 +09:00
2022-11-08 17:15:12 -05:00
2023-03-17 14:03:09 -07:00
2023-02-23 17:25:30 -08:00
2022-12-13 22:16:23 +09:00
2023-03-19 15:03:12 -07:00
2023-03-17 14:03:10 -07:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:28 -08:00
2023-02-23 17:25:28 -08:00
2023-03-17 14:03:10 -07:00
2022-10-24 14:48:05 -07:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:29 -08:00
2023-03-27 10:43:51 -07:00
2023-02-23 17:25:29 -08:00
2023-03-17 14:03:09 -07:00
2022-10-28 11:26:54 -07:00
2023-03-19 15:03:12 -07:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:30 -08:00
2023-02-23 17:25:29 -08:00
2022-10-13 09:32:56 -07:00
2022-10-13 09:32:56 -07:00
2023-02-23 17:25:30 -08:00
2023-02-23 17:25:29 -08:00
2023-02-27 08:00:39 -08:00
2022-10-13 09:32:56 -07:00
2023-02-27 08:00:39 -08:00
2023-02-23 17:25:29 -08:00
2023-02-23 17:25:29 -08:00