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

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

From
Hong Xu <xuhdev@gmail.com>
Date
Mar 22, 2012, 06:04 UTC
Message-ID
<4F6AC0FA.7040708@gmail.com>
Hello everyone,

If my ssh key is encrypted, "git pull origin mas<tab>" will give a unexpected result, something like this:

git pull origin masEnter passphrase for key '/home/user/.ssh/id_rsa':

I know maybe it is not possible to complete the "master", but maybe it is better to not complete anything than append something like that?

Thanks!
Hong
Next: Zbigniew Jędrzejewski-Szmek
Message 1 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.