]> git.ipfire.org Git - thirdparty/git.git/commit - t/t9902-completion.sh
completion: add optional ignore-case when matching refs
authorAlison Winters <alisonatwork@outlook.com>
Mon, 21 Nov 2022 00:26:58 +0000 (00:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Nov 2022 00:58:06 +0000 (09:58 +0900)
commit9bab766fb28fae57a229bd90558ec4453ca71be9
treeaf32c631760864e42be8372c73867c7d6fb7c6b6
parent3b08839926fcc7cc48cf4c759737c1a71af430c1
completion: add optional ignore-case when matching refs

If GIT_COMPLETION_IGNORE_CASE is set, --ignore-case will be added to
git for-each-ref calls so that refs can be matched case insensitively,
even when running on case sensitive filesystems.

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