Re: [BUG] git bash-completion is incorrect for "git pull origin mas<tab>" if the ssh key is encrypted
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 22, 2012, 17:55 UTC
- Message-ID
- <vpqvclwo70a.fsf@bauges.imag.fr>
- In-Reply-To
- <7vmx78y1eq.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> writes: > >> Maybe git-ls-remote should learn --quiet? > > 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.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/