Notable changes since v8[1]:
- Rework the commit history to try to better maintain blame
- Use ALLOC_GROW instead of pre-allocating when building the worktree array
- Refine the `--porcelain` format and describe it in the documentation
- Remove whitespace from expected and actual test output
[1]: http://thread.gmane.org/gmane.comp.version-control.git/278190
Michael Rappazzo (5):
worktree: add top-level worktree.c
worktree: refactor find_linked_symref function
worktree: add a function to get worktree details
worktree: add details to the worktree struct
worktree: add 'list' command
Documentation/git-worktree.txt | 49 +++++++++-
Makefile | 1 +
branch.c | 79 +--------------
branch.h | 8 --
builtin/notes.c | 2 +-
builtin/worktree.c | 82 ++++++++++++++++
t/t2027-worktree-list.sh | 89 +++++++++++++++++
worktree.c | 216 +++++++++++++++++++++++++++++++++++++++++
worktree.h | 38 ++++++++
9 files changed, 476 insertions(+), 88 deletions(-)
create mode 100755 t/t2027-worktree-list.sh
create mode 100644 worktree.c
create mode 100644 worktree.h