Re: [PATCH v7 3/3] worktree: add 'list' command

2015-09-12 Thread Eric Sunshine
On Fri, Sep 4, 2015 at 5:39 PM, Michael Rappazzo wrote: > 'git worktree list' iterates through the worktree list, and outputs > the worktree dir. By default, only the worktree path is output. Comments below in addition to Junio's... > Supported options include: >

Re: [PATCH v7 3/3] worktree: add 'list' command

2015-09-11 Thread Junio C Hamano
Michael Rappazzo writes: > diff --git a/builtin/worktree.c b/builtin/worktree.c > index 71bb770..a0c0fe8 100644 > --- a/builtin/worktree.c > +++ b/builtin/worktree.c > @@ -8,10 +8,13 @@ > #include "run-command.h" > #include "sigchain.h" > #include "refs.h" > +#include

[PATCH v7 3/3] worktree: add 'list' command

2015-09-04 Thread Michael Rappazzo
'git worktree list' iterates through the worktree list, and outputs the worktree dir. By default, only the worktree path is output. Supported options include: --skip-bare: do not output bare worktrees --verbose: include the current head and ref (if applicable), also