diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-11-21 22:04:34 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-22 07:11:43 (GMT) |
commit | bab3c3590879c5680060a5d5e2b93b4f97519025 (patch) | |
tree | bab1c9b6e1113f3144dc8772f578f18c573728a0 /sha1-array.c | |
parent | 94c0956b60969bbbb3ead19638d52591a59d713c (diff) | |
download | git-bab3c3590879c5680060a5d5e2b93b4f97519025.zip git-bab3c3590879c5680060a5d5e2b93b4f97519025.tar.gz git-bab3c3590879c5680060a5d5e2b93b4f97519025.tar.bz2 |
sparse-checkout: create 'init' subcommand
Getting started with a sparse-checkout file can be daunting. Help
users start their sparse enlistment using 'git sparse-checkout init'.
This will set 'core.sparseCheckout=true' in their config, write
an initial set of patterns to the sparse-checkout file, and update
their working directory.
Make sure to use the `extensions.worktreeConfig` setting and write
the sparse checkout config to the worktree-specific config file.
This avoids confusing interactions with other worktrees.
The use of running another process for 'git read-tree' is sub-
optimal. This will be removed in a later change.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-array.c')
0 files changed, 0 insertions, 0 deletions