From: Eric Sunshine Date: Wed, 01 Jul 2015 17:16:33 GMT Subject: Re: [RFC/PATCH] worktree: replace "checkout --to" with "worktree new" Message-ID: In-Reply-To: On Wed, Jul 1, 2015 at 1:13 PM, Eric Sunshine wrote: > On Wed, Jul 1, 2015 at 12:53 PM, Junio C Hamano wrote: >> From: Eric Sunshine >> >> The command "git checkout --to " is something of an anachronism, >> encompassing functionality somewhere between "checkout" and "clone". >> The introduction of the git-worktree command, however, provides a proper >> and intuitive place to house such functionality. Consequently, >> re-implement "git checkout --to" as "git worktree add". >> --- >> >> * Duy seems to think "worktree add" is coming, too, so here is a >> trivial tweak of your patch from the last month, with test >> adjustments to 7410 I sent earlier squashed in. > > Thanks. I was planning on re-rolling... I forgot to mention that the subject needs a slight update: "worktree add" rather than "worktree new".