Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse-options: multi-word argh should use dash to separate words
[gitweb.git]
/
t
/
t9902-completion.sh
diff --git
a/t/t9902-completion.sh
b/t/t9902-completion.sh
index d9e3103af597ec1f21ea56ca18500fbfcc8c2563..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
}