git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] git bash-completion is incorrect for "git pull origin mas<tab>" if the ssh key is encrypted

From
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date
Mar 22, 2012, 18:30 UTC
Message-ID
<4F6B6FAD.6010905@in.waw.pl>
In-Reply-To
<vpqvclwo70a.fsf@bauges.imag.fr>
On 03/22/2012 06:55 PM, Matthieu Moy wrote:
Show 15 quoted lines
> Junio C Hamano<gitster@pobox.com>  writes:
>
>> 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.

Yeah, I can second that. Even on a slow network, it can be useful. I use ssh with ControlMaster=yes and completion over a relatively slow network is pretty much instantaneous.

- Zbyszek

Previous: Matthieu MoyNext: Junio C Hamano
Message 9 of 11 in “[BUG] git bash-completion is incorrect for "git pull origin mas<tab>" if the ssh key is encrypted”
  1. Hong XuMar 22, 2012
  2. Zbigniew Jędrzejewski-SzmekMar 22, 2012
  3. Johannes SixtMar 22, 2012
  4. Hong XuMar 22, 2012
  5. Zbigniew Jędrzejewski-SzmekMar 22, 2012
  6. Hong XuMar 22, 2012
  7. Junio C HamanoMar 22, 2012
  8. Matthieu MoyMar 22, 2012
  9. Zbigniew Jędrzejewski-SzmekMar 22, 2012
  10. Junio C HamanoMar 22, 2012
  11. Hong XuMar 22, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.