]> git.ipfire.org Git - thirdparty/git.git/commit
t1400: use show-ref to check pseudorefs
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 7 Feb 2024 16:44:36 +0000 (16:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Feb 2024 17:14:48 +0000 (09:14 -0800)
commit1af410d455c5cddae1cdea3e5333ffd6ab616045
tree0a4d3417a6489022dd41001b1804dfbf4980a55f
parent1dbe40156307763255d96653cc853ef4ff841920
t1400: use show-ref to check pseudorefs

Now that "git show-ref --verify" accepts pseudorefs use that in
preference to "git rev-parse" when checking pseudorefs as we do when
checking branches etc.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1400-update-ref.sh