diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2015-07-17 19:00:03 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-20 11:29:24 -0700 |
commit | 746bbdc64f1e1b2618cd71e5da81e38aa772e8ba (patch) | |
tree | 0dcdbcb719ba305fdaaca9aa6a844380a2370def /hashmap.c | |
parent | checkout: check_linked_checkout: simplify symref parsing (diff) | |
download | tgif-746bbdc64f1e1b2618cd71e5da81e38aa772e8ba.tar.xz |
checkout: teach check_linked_checkout() about symbolic link HEAD
check_linked_checkout() only understands symref-style HEAD (i.e. "ref:
refs/heads/master"), however, HEAD may also be a an actual symbolic link
(on platforms which support it). To accurately detect if a branch is
checked out elsewhere, it needs to handle symbolic link HEAD, as well.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hashmap.c')
0 files changed, 0 insertions, 0 deletions