git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git-completion.bash: Show list of local branches instead of refs for git checkout
@ 2017-12-04  9:10 Amandeep Gautam
  2017-12-04  9:29 ` SZEDER Gábor
  0 siblings, 1 reply; 2+ messages in thread
From: Amandeep Gautam @ 2017-12-04  9:10 UTC (permalink / raw)
  To: git

Hello,
    I am using git-completion.bash and when I try to checkout a branch
by typing git checkout on the prompt, I get the following:

FETCH_HEAD FETCH ORIG_FETCH

Will it not be more useful if the list of local branches is populated?
If it seems like a good idea I will be willing to submit a patch.

Regards,
Aman

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git-completion.bash: Show list of local branches instead of refs for git checkout
  2017-12-04  9:10 git-completion.bash: Show list of local branches instead of refs for git checkout Amandeep Gautam
@ 2017-12-04  9:29 ` SZEDER Gábor
  0 siblings, 0 replies; 2+ messages in thread
From: SZEDER Gábor @ 2017-12-04  9:29 UTC (permalink / raw)
  To: Amandeep Gautam; +Cc: SZEDER Gábor, git

Hi,

>     I am using git-completion.bash and when I try to checkout a branch
> by typing git checkout on the prompt, I get the following:
> 
> FETCH_HEAD FETCH ORIG_FETCH

What is "ORIG_FETCH"?  This string was never present in Git's source
code.

> Will it not be more useful if the list of local branches is populated?

'git checkout <TAB>' should already list branches, and it seems to
work just fine.


Gábor


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-04  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-04  9:10 git-completion.bash: Show list of local branches instead of refs for git checkout Amandeep Gautam
2017-12-04  9:29 ` SZEDER Gábor

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).