summaryrefslogtreecommitdiff
path: root/t/t1505-rev-parse-last.sh
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2015-07-17 19:00:04 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-20 11:29:24 -0700
commited89f84b3c05d6359aba842e245910c996d91859 (patch)
tree3972049b8bae8865590f68c2a74d9df244e21193 /t/t1505-rev-parse-last.sh
parentcheckout: teach check_linked_checkout() about symbolic link HEAD (diff)
downloadtgif-ed89f84b3c05d6359aba842e245910c996d91859.tar.xz
branch: publish die_if_checked_out()
git-worktree currently conflates new branch creation, setting of HEAD in the new wortkree, and worktree population into a single sub-invocation of git-checkout. However, these operations will eventually be separated, and git-worktree itself will need to be able to detect if the branch is already checked out elsewhere, rather than relying upon git-branch to make this determination, so publish die_if_checked_out(). Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1505-rev-parse-last.sh')
0 files changed, 0 insertions, 0 deletions