git/Documentation
Eric Sunshine b979d95027 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>
2015-07-06 11:07:47 -07:00
..
2014-11-04 13:14:44 -08:00
2014-11-04 13:14:44 -08:00
2014-12-01 11:00:18 -08:00
2009-04-06 00:27:09 -07:00
2014-04-08 12:00:28 -07:00
2014-11-04 13:14:44 -08:00
2013-09-04 12:23:25 -07:00
2015-07-06 11:07:47 -07:00
2014-11-04 13:14:44 -08:00
2014-11-04 13:14:44 -08:00
2014-11-04 13:14:44 -08:00
2014-11-04 13:14:44 -08:00
2014-10-16 14:16:42 -07:00
2013-05-29 14:23:04 -07:00
2013-10-18 13:50:12 -07:00
2014-11-04 13:14:44 -08:00
2013-04-12 12:00:52 -07:00
2014-11-04 13:14:44 -08:00
2015-07-06 11:07:47 -07:00
2014-11-04 13:14:44 -08:00
2014-11-04 13:14:44 -08:00
2014-11-04 13:14:44 -08:00
2014-10-29 10:07:40 -07:00
2014-11-04 13:14:44 -08:00