Re: [PATCH v2 13/23] worktree: introduce "add" command

2015-07-06 Thread Duy Nguyen
On Sat, Jul 4, 2015 at 3:54 PM, Eric Sunshine wrote: > On Fri, Jul 3, 2015 at 10:53 PM, Duy Nguyen wrote: >> On Sat, Jul 4, 2015 at 7:17 AM, Eric Sunshine >> wrote: >>> COMMANDS >>> >>> +add :: >>> + >>> +Check out `` into a separate working directory, ``, creating >>> +`` if necess

Re: [PATCH v2 13/23] worktree: introduce "add" command

2015-07-05 Thread Eric Sunshine
On Fri, Jul 3, 2015 at 10:53 PM, Duy Nguyen wrote: > On Sat, Jul 4, 2015 at 7:17 AM, Eric Sunshine wrote: >> COMMANDS >> >> +add :: >> + >> +Check out `` into a separate working directory, ``, creating >> +`` if necessary. The new working directory is linked to the current >> +reposit

Re: [PATCH v2 13/23] worktree: introduce "add" command

2015-07-03 Thread Duy Nguyen
On Sat, Jul 4, 2015 at 7:17 AM, Eric Sunshine wrote: > COMMANDS > > +add :: > + > +Check out `` into a separate working directory, ``, creating > +`` if necessary. The new working directory is linked to the current > +repository, sharing everything except working directory specific fil

[PATCH v2 13/23] worktree: introduce "add" command

2015-07-03 Thread Eric Sunshine
The plan is to relocate "git checkout --to" functionality to "git worktree add". As a first step, introduce a bare-bones git-worktree "add" command along with documentation. At this stage, "git worktree add" merely invokes "git checkout --to" behind the scenes, but an upcoming patch will move the a