diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-02-23 14:29:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-23 12:24:41 -0800 |
commit | 23f832e29ec20ddbded431fdf55f49dc0f54e794 (patch) | |
tree | f72c8f3700438a1816f6ca0dae5aa2aeaafd4a63 /Documentation | |
parent | worktree: extract copy_sparse_checkout() (diff) | |
download | tgif-23f832e29ec20ddbded431fdf55f49dc0f54e794.tar.xz |
worktree: extract checkout_worktree()
The ability to add the --no-checkout flag to 'git worktree' was added in
ef2a0ac9a0 (worktree: add: introduce --checkout option, 2016-03-29).
Recently, we noticed that add_worktree() is rather complicated, so
extract the logic for this checkout process to simplify the method.
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions