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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:21

Zbigniew Jędrzejewski-Szmek  [off-list ref] 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.

When given a repository nickname, do we have a good way for the completion
script to tell if it is local or remote?  "type -d $it" might be cheap way
to do so, or we could even do "test $it = ." to limit it really to the
current repository.

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

From: Hong Xu <hidden>
Date: 2016-06-15 22:53:21


On Mar 23, 2012, at 1:46, Junio C Hamano [off-list ref] wrote:
Zbigniew Jędrzejewski-Szmek  [off-list ref] writes:
quoted
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.
Could you give some reasons about why shouldn't we go through network?

Hong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help