git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "SZEDER Gábor" <szeder@ira.uka.de>
To: Sylvain RABOT <srabot@steek.com>
Cc: spearce@spearce.org, git@vger.kernel.org
Subject: Re: Minor bug in bash completion
Date: Wed, 30 Dec 2009 12:22:22 +0100	[thread overview]
Message-ID: <20091230112222.GA493@neumann> (raw)
In-Reply-To: <4B3A140A.60302@steek.com>

Hi Sylvain,


On Tue, Dec 29, 2009 at 03:36:58PM +0100, Sylvain RABOT wrote:
> I found a bug in the git bash completion.
> It occurs when I press tab to complete branch name when I want to pull  
> from the origin.
> Instead of completing the branch name it prompts me directly for my  
> password on the origin remote.

I don't think it's a bug.  The completion script should offer the
currently available refs in the remote repository after a 'git pull
<remote> <TAB>'.  In order to do that it contacts the remote
repository for the list of refs available there.  Depending on the
access method, it might need to authenticate, in your case via ssh.
To silence the password prompts you should change your ssh
configuration to use key-based authentication when logging in to the
remote repository's server (just google for 'ssh login without
password').


Best,
Gábor

  reply	other threads:[~2009-12-30 12:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-29 14:36 Minor bug in bash completion Sylvain RABOT
2009-12-30 11:22 ` SZEDER Gábor [this message]
2009-12-30 17:59   ` Sylvain Rabot
2009-12-30 18:00   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091230112222.GA493@neumann \
    --to=szeder@ira.uka.de \
    --cc=git@vger.kernel.org \
    --cc=spearce@spearce.org \
    --cc=srabot@steek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).