Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] completion: --list option for git-branch

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

Zbigniew Jędrzejewski-Szmek [off-list ref] writes:
Normally one would use just a bare 'git branch' to list branches.
Why would you want to use --list in an interactive environment (as
opposed to a script)? Isn't it better not to clutter the completion
options with something that the user actually has not need for?
        $ git branch jc/\*
        fatal: 'jc/*' is not a valid branch name.
        $ git branch --list jc/\*
          jc/advise-i18n
          jc/advise-push-default
          ...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help