]> git.ipfire.org Git - thirdparty/git.git/commit - t/t2027-worktree-list.sh
worktree: add 'list' command
authorMichael Rappazzo <rappazzo@gmail.com>
Thu, 8 Oct 2015 17:01:05 +0000 (13:01 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Oct 2015 18:57:14 +0000 (11:57 -0700)
commitbb9c03b82add467592249a222018a150684a4c97
treebbbf117789d5f224abab1feeb08f3ea0bdf1b482
parent92718b7438799f4654304e2fa3b5b7e5a9fda882
worktree: add 'list' command

'git worktree list' iterates through the worktree list, and outputs
details of the worktree including the path to the worktree, the currently
checked out revision and branch, and if the work tree is bare.  There is
also porcelain format option available.

Signed-off-by: Michael Rappazzo <rappazzo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-worktree.txt
builtin/worktree.c
t/t2027-worktree-list.sh [new file with mode: 0755]