aboutsummaryrefslogtreecommitdiff
path: root/t/t2027-worktree-list.sh
Commit message (Collapse)AuthorAge
* rev-parse: take prefix into account in --git-common-dirNguyễn Thái Ngọc Duy2016-02-12
| | | | | | | | | | Most of the time, get_git_common_dir() returns an absolute path so prefix is irrelevant. If it returns a relative path (e.g. from the main worktree) then prefixing is required. Noticed-by: Mike Hommey <mh@glandium.org> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* worktree: add 'list' commandMichael Rappazzo2015-10-08
'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>