]> git.ipfire.org Git - thirdparty/git.git/commit
completion: add case-insensitive match of pseudorefs
authorAlison Winters <alisonatwork@outlook.com>
Mon, 21 Nov 2022 00:26:59 +0000 (00:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Nov 2022 00:58:06 +0000 (09:58 +0900)
commit9de31f7bd25029eb6e2292ede6df3a646f261de4
treefa14032562cc90a02788101aa4b7e36c7ecc0658
parent9bab766fb28fae57a229bd90558ec4453ca71be9
completion: add case-insensitive match of pseudorefs

When GIT_COMPLETION_IGNORE_CASE is set, also allow lowercase completion
text like "head" to match uppercase HEAD and other pseudorefs.

Signed-off-by: Alison Winters <alisonatwork@outlook.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
t/t9902-completion.sh