Merge branch 'cy/zsh-completion-SP-in-path'
commitb84e2977534b677ae1ac8670489002637fab6438
authorJunio C Hamano <gitster@pobox.com>
Fri, 18 Jan 2019 21:49:54 +0000 (18 13:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Jan 2019 21:49:54 +0000 (18 13:49 -0800)
tree0f4ebde24c47a68cc899d3f16bd980ecb1ff7fd2
parentc4338578943129cc7e76657453d879e38f70ce63
parent6d54f528c74604b289ce7237cd30a1cfc5511f18
Merge branch 'cy/zsh-completion-SP-in-path'

With zsh, "git cmd path<TAB>" was completed to "git cmd path name"
when the completed path has a special character like SP in it,
without any attempt to keep "path name" a single filename.  This
has been fixed to complete it to "git cmd path\ name" just like
Bash completion does.

* cy/zsh-completion-SP-in-path:
  completion: treat results of git ls-tree as file paths
  zsh: complete unquoted paths with spaces correctly
contrib/completion/git-completion.bash
t/t9902-completion.sh