From: Michael Rappazzo <rappazzo@gmail.com>
To: gitster@pobox.com, sunshine@sunshineco.com
Cc: git@vger.kernel.org, Michael Rappazzo <rappazzo@gmail.com>
Subject: [PATCH 0/2 v4] worktree: for_each_worktree and list
Date: Thu, 13 Aug 2015 14:32:17 -0400 [thread overview]
Message-ID: <1439490739-9361-1-git-send-email-rappazzo@gmail.com> (raw)
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
next reply other threads:[~2015-08-13 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 18:32 Michael Rappazzo [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439490739-9361-1-git-send-email-rappazzo@gmail.com \
--to=rappazzo@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=sunshine@sunshineco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).