Re: [PATCH 01/14] completion: zsh: fix __gitcomp_direct()

2019-06-22 Thread Felipe Contreras
On Fri, Jun 21, 2019 at 5:31 PM Felipe Contreras wrote: > > Many callers append a space suffix, but zsh automatically appends a > space, making the completion add two spaces, for example: > --- a/contrib/completion/git-completion.zsh > +++ b/contrib/completion/git-completion.zsh > @@ -73,7 +73,7

[PATCH 01/14] completion: zsh: fix __gitcomp_direct()

2019-06-21 Thread Felipe Contreras
Many callers append a space suffix, but zsh automatically appends a space, making the completion add two spaces, for example: git log ma Will complete 'master '. Let's remove that extra space. Signed-off-by: Felipe Contreras --- contrib/completion/git-completion.bash | 2 +- contrib/comple