summaryrefslogtreecommitdiff
path: root/t/t2014-switch.sh
diff options
context:
space:
mode:
authorLibravatar Michael Rappazzo <rappazzo@gmail.com>2015-10-08 13:01:04 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-08 11:57:07 -0700
commit92718b7438799f4654304e2fa3b5b7e5a9fda882 (patch)
treebe65427222e07b4237ac42273dd98177eed0a53d /t/t2014-switch.sh
parentworktree: add a function to get worktree details (diff)
downloadtgif-92718b7438799f4654304e2fa3b5b7e5a9fda882.tar.xz
worktree: add details to the worktree struct
In addition to the absolute path in the worktree struct, add the location of the git dir, the head ref (if not detached), the head revision sha1, whether or not head is detached, and whether or not the worktree is a bare repo. Signed-off-by: Michael Rappazzo <rappazzo@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2014-switch.sh')
0 files changed, 0 insertions, 0 deletions