Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/for-each-ref-skip-parsing'
[gitweb.git]
/
t
/
t9902-completion.sh
diff --git
a/t/t9902-completion.sh
b/t/t9902-completion.sh
index 272a071e85b0b7c6b34da06fd7492a257b09fa52..2d4beb5e50c257fed2f4b6475cb5834425b5a64f 100755
(executable)
--- a/
t/t9902-completion.sh
+++ b/
t/t9902-completion.sh
@@
-69,7
+69,7
@@
run_completion ()
local -a COMPREPLY _words
local _cword
_words=( $1 )
- test "${1: -1}" = ' ' && _words
+=('')
+ test "${1: -1}" = ' ' && _words
[${#_words[@]}+1]=''
(( _cword = ${#_words[@]} - 1 ))
__git_wrap__git_main && print_comp
}