Skip to content

worktree: for-each function and list command

Michael Rappazzo git 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 11 repliesIn review
  2. v52 patches 3 repliesSuperseded
  3. v42 patches 3 repliesSuperseded

Changes in v6 from the cover letter

- used already existing functions instead of reimplementing:
- resolve_ref_unsafe
- find_unique_abbrev
- shorten_unambiguous_ref
- added more tests for 'worktree list'

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2worktree: add 'for_each_worktree' functionbuiltin/worktree.c+83 -010 replies
2/2worktree: add 'list' commandDocumentation/git-worktree.txt builtin/worktree.c t/t2027-worktree-list.sh+150 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 0/2] worktree: for-each function and list command

Changes since v5:
- used already existing functions instead of reimplementing:
- resolve_ref_unsafe
- find_unique_abbrev
- shorten_unambiguous_ref
- added more tests for 'worktree list'

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

 Documentation/git-worktree.txt |  10 +++-
 builtin/worktree.c             | 125 +++++++++++++++++++++++++++++++++++++++++
 t/t2027-worktree-list.sh       | 100 +++++++++++++++++++++++++++++++++
 3 files changed, 233 insertions(+), 2 deletions(-)
 create mode 100755 t/t2027-worktree-list.sh
Signature · 1 line
2.5.0