On a worktree which is not the primary, using the symbolic-ref 'head' was incorrectly pointing to the main worktree's HEAD. The same was true for any other casing of the word 'Head'. Signed-off-by: Michael Rappazzo rappazzo@xxxxxxxxx [rappazzo@xxxxxxxxx] Michael Rappazzo (1): worktree refs: fix case sensitivity for 'head' refs.c | 8 ++++---- t/t1415-worktree-refs.sh | 9 +++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) base-commit: 5d826e972970a784bd7a7bdf587512510097b8c7 Published-As: https://github.com/gitgitgadget/git/releases/tags/pr-100%2Frappazzo%2Fhead_case_sensitivity_on_worktree-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-100/rappazzo/head_case_sensitivity_on_worktree-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/100 -- gitgitgadget