On Fri, Jul 3, 2015 at 11:04 PM, Duy Nguyen <pclo...@gmail.com> wrote:
> On Sat, Jul 4, 2015 at 7:17 AM, Eric Sunshine <sunsh...@sunshineco.com> wrote:
>> 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 <sunsh...@sunshineco.com>
>> ---
>>  builtin/checkout.c | 156 
>> +----------------------------------------------------
>>  builtin/worktree.c | 138 ++++++++++++++++++++++++++++++++++++++++++++---
>>  2 files changed, 133 insertions(+), 161 deletions(-)
>
> If I didn't lose track of changes, "--to" is still described in
> git-checkout.txt?

You're right. v1 did remove --to from git-checkout.txt, but somehow I
overlooked it in v2. Thanks for pointing out this oversight.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to