git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2 v4] worktree: for_each_worktree and list

From
Michael Rappazzo <rappazzo@gmail.com>
Date
Aug 13, 2015, 18:32 UTC
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
Next: Michael Rappazzo
Message 1 of 6 in “worktree: for_each_worktree and list”
  1. 0/2 worktree: for_each_worktree and listMichael Rappazzo, Aug 13, 2015
  2. 1/2 worktree: add 'for_each_worktree' functionMichael Rappazzo, Aug 13, 2015
  3. David TurnerAug 13, 2015
  4. Mike RappazzoAug 13, 2015
  5. 2/2 worktree: add 'list' commandMichael Rappazzo, Aug 13, 2015
  6. David TurnerAug 13, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.