Running git show-ref --verify CHERRY_PICK_HEAD will always result in fatal: 'CHERRY_PICK_HEAD' - not a valid ref even when CHERRY_PICK_HEAD exists. The first patch in this series fixes that and the second patch then replaces some instances of "git rev-parse " with "git show-ref --verify " in our test suite. Phillip Wood (2): show-ref --verify: accept pseudorefs t1400: use show-ref to check pseudorefs builtin/show-ref.c | 2 +- t/t1400-update-ref.sh | 18 +++++++++--------- t/t1403-show-ref.sh | 8 ++++++++ 3 files changed, 18 insertions(+), 10 deletions(-) base-commit: 2a540e432fe5dff3cfa9d3bf7ca56db2ad12ebb9 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1654%2Fphillipwood%2Fshow-ref-pseudorefs-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1654/phillipwood/show-ref-pseudorefs-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/1654 -- gitgitgadget