git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 v4] worktree: for_each_worktree and list
@ 2015-08-13 18:32 Michael Rappazzo
  2015-08-13 18:32 ` [PATCH 1/2 v4] worktree: add 'for_each_worktree' function Michael Rappazzo
  2015-08-13 18:32 ` [PATCH 2/2 v4] worktree: add 'list' command Michael Rappazzo
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Rappazzo @ 2015-08-13 18:32 UTC (permalink / raw)
  To: gitster, sunshine; +Cc: git, Michael Rappazzo

This patch series adds a for_each_worktree function and then uses it to implement 
the `git worktree list` command.

Differences from [v3](http://www.mail-archive.com/git@vger.kernel.org/msg75599.html)
  - create the for_each_worktree function
  - uses the function in the list
  - a bare repo is NOT included in the iterated worktrees


Michael Rappazzo (2):
  worktree: add 'for_each_worktree' function
  worktree: add 'list' command

 Documentation/git-worktree.txt |  11 +++-
 builtin/worktree.c             | 139 +++++++++++++++++++++++++++++++++++++++++
 t/t2027-worktree-list.sh       |  51 +++++++++++++++
 3 files changed, 200 insertions(+), 1 deletion(-)
 create mode 100755 t/t2027-worktree-list.sh

-- 
2.5.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-13 23:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-13 18:32 [PATCH 0/2 v4] worktree: for_each_worktree and list Michael Rappazzo
2015-08-13 18:32 ` [PATCH 1/2 v4] worktree: add 'for_each_worktree' function Michael Rappazzo
2015-08-13 19:23   ` David Turner
2015-08-13 23:32     ` Mike Rappazzo
2015-08-13 18:32 ` [PATCH 2/2 v4] worktree: add 'list' command Michael Rappazzo
2015-08-13 19:26   ` David Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).