Re: [PATCH 4/7] completion: teach ls-remote to complete options

2017-02-02 Thread Junio C Hamano
Cornelius Weig writes: > On 02/02/2017 02:40 AM, SZEDER Gábor wrote: >> >>> ls-remote needs to complete remote names and its own options. >> >> And refnames, too. > > Yes, right. However, do you think it is reasonable to complete remote > refnames? I don't think so,

Re: [PATCH 4/7] completion: teach ls-remote to complete options

2017-02-02 Thread Cornelius Weig
On 02/02/2017 02:40 AM, SZEDER Gábor wrote: > >> ls-remote needs to complete remote names and its own options. > > And refnames, too. Yes, right. However, do you think it is reasonable to complete remote refnames? I don't think so, because it would mean we would have to run ls-remote during

Re: [PATCH 4/7] completion: teach ls-remote to complete options

2017-02-01 Thread SZEDER Gábor
> ls-remote needs to complete remote names and its own options. And refnames, too. > In > addition to the existing remote name completions, do also complete > the options --heads, --tags, --refs, and --get-url. Why only these four options and not the other four? There are eight options in

[PATCH 4/7] completion: teach ls-remote to complete options

2017-01-22 Thread bitte . keine . werbung . einwerfen
From: Cornelius Weig ls-remote needs to complete remote names and its own options. In addition to the existing remote name completions, do also complete the options --heads, --tags, --refs, and --get-url. --- contrib/completion/git-completion.bash | 6 ++ 1 file