git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
81f717b
)
completion: bash: synchronize zsh wrapper
author
Felipe Contreras
<redacted>
Wed, 28 Oct 2020 02:06:52 +0000
(20:06 -0600)
committer
Junio C Hamano
<redacted>
Wed, 28 Oct 2020 21:30:59 +0000
(14:30 -0700)
A function was missing.
Signed-off-by: Felipe Contreras <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index ec7dd12a4155e876ae3fddb77038e2d7dee93de0..40affd40e24f1fd4885a11cb6a1208e76e2d179b 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-3510,6
+3510,14
@@
if [[ -n ${ZSH_VERSION-} ]] &&
compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0
}
+ __gitcomp_nl_append ()
+ {
+ emulate -L zsh
+
+ local IFS=$'\n'
+ compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0
+ }
+
__gitcomp_file_direct ()
{
emulate -L zsh
git clone https://git.99rst.org/PROJECT