[PATCH 2/2 v4] worktree: add 'list' command

2015-08-13 Thread Michael Rappazzo
'git worktree list' uses the for_each_worktree function to iterate, and outputs in the format: 'worktree (short-ref)' Signed-off-by: Michael Rappazzo rappa...@gmail.com --- Documentation/git-worktree.txt | 11 - builtin/worktree.c | 55

Re: [PATCH 2/2 v4] worktree: add 'list' command

2015-08-13 Thread David Turner
On Thu, 2015-08-13 at 14:32 -0400, Michael Rappazzo wrote: 'git worktree list' uses the for_each_worktree function to iterate, and outputs in the format: 'worktree (short-ref)' I'm not sure I'm going to have time to review the whole thing, but I think we ought to have tests with both bare and