Re: [PATCH] bash completion: Add --autostash and --no-autostash to pull

2017-11-24 Thread SZEDER Gábor
> Ideally we should only autocomplete if pull has --rebase since > they only work with it but could not figure out how to do that > and the error message of doing git pull --autostash points out > that you need --rebase so i guess it's good enough You could use the completion script's __git_find_o

Re: [PATCH] bash completion: Add --autostash and --no-autostash to pull

2017-11-21 Thread Albert Astals Cid
El dimarts, 21 de novembre de 2017, a les 0:14:24 CET, Eric Sunshine va escriure: > On Mon, Nov 20, 2017 at 10:07 AM, Albert Astals Cid > > wrote: > > Ideally we should only autocomplete if pull has --rebase since > > they only work with it but could not figure out how to do that > > and the err

[PATCH] bash completion: Add --autostash and --no-autostash to pull

2017-11-21 Thread Albert Astals Cid
Ideally we should only autocomplete if pull has --rebase since they only work with it but could not figure out how to do that and the error message of doing git pull --autostash points out that you need --rebase so i guess it's good enough Signed-off-by: Albert Astals Cid --- contrib/completion/

Re: [PATCH] bash completion: Add --autostash and --no-autostash to pull

2017-11-20 Thread Eric Sunshine
On Mon, Nov 20, 2017 at 10:07 AM, Albert Astals Cid wrote: > Ideally we should only autocomplete if pull has --rebase since > they only work with it but could not figure out how to do that > and the error message of doing git pull --autostash points out > that you need --rebase so i guess it's goo

[PATCH] bash completion: Add --autostash and --no-autostash to pull

2017-11-20 Thread Albert Astals Cid
Ideally we should only autocomplete if pull has --rebase since they only work with it but could not figure out how to do that and the error message of doing git pull --autostash points out that you need --rebase so i guess it's good enough --- contrib/completion/git-completion.bash | 1 + 1 file c