Re: [BUG] git bash-completion is incorrect for "git pull origin mas<tab>" if the ssh key is encrypted
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 22, 2012, 18:45 UTC
- Message-ID
- <7vehskxymy.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <vpqvclwo70a.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 9 quoted lines
>> I would rather think that the completion should ask for refs only when >> dealing with local repositories, without going over network, whether the >> query involves authentication or not. > > It depends on what "network" is. When the network is just a machine on > the same Gb-ethernet LAN, completion can still be useful (only if you > have password-less authentication of course). I don't use it much with > Git, but I find it handy that ZSH completes rsync remote pathes for > example.
Yeah, I agree it depends on your latency-tolerance (which implies that this begs for an "I am impatient, do not go over network" switch).