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