This series represents a major rewrite of the previous series. It introduces a top-level worktree.c which includes `get_worktree_list` and `get_worktree` functions, and it also moves the `find_shared_symref` from branch.c to worktree.c Michael Rappazzo (3): worktree: add top-level worktree.c worktree: move/refactor find_shared_symref from branch.c worktree: add 'list' command Documentation/git-worktree.txt | 10 ++- Makefile | 1 + branch.c | 79 +---------------- branch.h | 8 -- builtin/notes.c | 1 + builtin/worktree.c | 63 +++++++++++++ t/t2027-worktree-list.sh | 122 +++++++++++++++++++++++++ worktree.c | 197 +++++++++++++++++++++++++++++++++++++++++ worktree.h | 55 ++++++++++++ 9 files changed, 449 insertions(+), 87 deletions(-) create mode 100755 t/t2027-worktree-list.sh create mode 100644 worktree.c create mode 100644 worktree.h -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html