pr-git-1374/alisonatwork/bash-insensitive-v1
tagged this
05 Nov 17:28
In 3bb16a8bf2 (tag, branch, for-each-ref: add --ignore-case for sorting and filtering, 2016-12-04), support was added for filtering and sorting refs in a case insensitive way. This is a behavior that seems appropriate to enable with shell completion. Many shells provide case insensitive completion as an option, even on filesystems that remain case sensitive. This patch adds a new variable that, when set, will allow Bash completion to use the --ignore-case option to match refs. Additionally, some basic support is implemented to match pseudorefs like HEAD. Alison Winters (2): completion: add optional ignore-case when matching refs completion: add case-insensitive match of pseudorefs contrib/completion/git-completion.bash | 51 ++++++++++++++++++++++++-- t/t9902-completion.sh | 32 ++++++++++++++++ 2 files changed, 80 insertions(+), 3 deletions(-) base-commit: 3b08839926fcc7cc48cf4c759737c1a71af430c1 Submitted-As: https://lore.kernel.org/git/pull.1374.git.git.1667669315.gitgitgadget@gmail.com
Assets 2
-
2022-11-05T17:28:35Z -
2022-11-05T17:28:35Z -