summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--pretty=oneline_--root_--patch-with-stat_initial
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2015-07-06 13:30:55 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-06 11:07:47 -0700
commitb979d95027242455b10e6f566b0e96c5f30cc908 (patch)
treeeb0f31e37155c324c37c76e3a48637ccfe74d2ad /t/t4013/diff.diff-tree_--pretty=oneline_--root_--patch-with-stat_initial
parenttests: worktree: retrofit "checkout --to" tests for "worktree add" (diff)
downloadtgif-b979d95027242455b10e6f566b0e96c5f30cc908.tar.xz
checkout: retire --to option
Now that "git worktree add" has achieved user-facing feature-parity with "git checkout --to", retire the latter. Move the actual linked worktree creation functionality, prepare_linked_checkout() and its helpers, verbatim from checkout.c to worktree.c. This effectively reverts changes to checkout.c by 529fef2 (checkout: support checking out into a new working directory, 2014-11-30) with the exception of merge_working_tree() and switch_branches() which still require specialized knowledge that a the checkout is occurring in a newly-created linked worktree (signaled to them by the private GIT_CHECKOUT_NEW_WORKTREE environment variable). Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty=oneline_--root_--patch-with-stat_initial')
0 files changed, 0 insertions, 0 deletions