Re: [PATCH v4 4/4] worktree: make add dwim

2017-11-26 Thread Thomas Gummerer
On 11/26, Junio C Hamano wrote: > Thomas Gummerer writes: > > > Of course that assumes that it's used directly, not in scripts, and > > that users will actually read the output of the command when they > > invoke it. Maybe these are not safe assumptions to make though, and

Re: [PATCH v4 4/4] worktree: make add dwim

2017-11-25 Thread Junio C Hamano
Thomas Gummerer writes: > Of course that assumes that it's used directly, not in scripts, and > that users will actually read the output of the command when they > invoke it. Maybe these are not safe assumptions to make though, and > we'd rather not have this on by default

Re: [PATCH v4 4/4] worktree: make add dwim

2017-11-25 Thread Paul Smith
On Sat, 2017-11-25 at 20:06 +, Thomas Gummerer wrote: > This part is getting done in 3/4, and is definitely going to work > without an additional flag, so this is (hopefully) soon going to work > just as you want :) Yay! Thanks!

Re: [PATCH v4 4/4] worktree: make add dwim

2017-11-25 Thread Thomas Gummerer
On 11/25, Randall S. Becker wrote: > On November 25, 2017 3:06 PM Thomas Gummerer wrote: > > >however we currently document one behaviour, which I would like to change > >(I usually have branches > >without a / in that I want to look at) we currently document one behaviour, > >which I'd like to

RE: [PATCH v4 4/4] worktree: make add dwim

2017-11-25 Thread Randall S. Becker
On November 25, 2017 3:06 PM Thomas Gummerer wrote: >however we currently document one behaviour, which I would like to change (I usually have branches >without a / in that I want to look at) we currently document one behaviour, which I'd like to change. So >in that case we are a bit worried

Re: [PATCH v4 4/4] worktree: make add dwim

2017-11-25 Thread Thomas Gummerer
On 11/25, Paul Smith wrote: > On Sat, 2017-11-25 at 17:50 +, Thomas Gummerer wrote: > > This would be the output in the new version: > > > > $ git worktree add ../bla > > Branch 'bla' set up to track remote branch 'bla' from 'origin'. > > Preparing ../bla (identifier bla) > >

Re: [PATCH v4 4/4] worktree: make add dwim

2017-11-25 Thread Paul Smith
On Sat, 2017-11-25 at 17:50 +, Thomas Gummerer wrote: > This would be the output in the new version: > > $ git worktree add ../bla > Branch 'bla' set up to track remote branch 'bla' from 'origin'. > Preparing ../bla (identifier bla) > HEAD is now at 4aade43 bla > > vs.

Re: [PATCH v4 4/4] worktree: make add dwim

2017-11-25 Thread Thomas Gummerer
On 11/24, Junio C Hamano wrote: > Thomas Gummerer writes: > > > Currently 'git worktree add ' creates a new branch named after the > > basename of the , that matches the HEAD of whichever worktree we > > were on when calling "git worktree add ". > > > > Make 'git worktree

Re: [PATCH v4 4/4] worktree: make add dwim

2017-11-23 Thread Junio C Hamano
Thomas Gummerer writes: > Currently 'git worktree add ' creates a new branch named after the > basename of the , that matches the HEAD of whichever worktree we > were on when calling "git worktree add ". > > Make 'git worktree add behave more like the dwim machinery in >