From: Michael Rappazzo Date: Thu, 13 Aug 2015 18:32:17 GMT Subject: [PATCH 0/2 v4] worktree: for_each_worktree and list Message-ID: <1439490739-9361-1-git-send-email-rappazzo@gmail.com> 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