diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2021-08-16 04:10:23 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-18 11:17:25 -0700 |
commit | e9f2118ddfad4ae5e37adc7637acc9daf4ac8c9c (patch) | |
tree | a2e76e6f3578becdb0da937d842d07d331305283 /t/t0013-sha1dc.sh | |
parent | completion: bash: fix prefix detection in branch.* (diff) | |
download | tgif-e9f2118ddfad4ae5e37adc7637acc9daf4ac8c9c.tar.xz |
completion: bash: fix for suboptions with value
We need to ignore options that don't start with -- as well.
Depending on the value of COMP_WORDBREAKS the last word could be
duplicated otherwise.
Can be tested with:
git merge -X diff-algorithm=<tab>
Tested-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0013-sha1dc.sh')
0 files changed, 0 insertions, 0 deletions