Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Zbigniew Jędrzejewski-Szmek" <zbyszek@in.waw.pl>
Cc: Ralf Thielow <ralf.thielow@googlemail.com>,
	spearce@spearce.org, git@vger.kernel.org
Subject: Re: [PATCH] completion: --list option for git-branch
Date: Thu, 16 Feb 2012 10:07:37 -0800	[thread overview]
Message-ID: <7vpqdezm6u.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <4F3CCC4A.5010100@in.waw.pl> ("Zbigniew Jędrzejewski-Szmek"'s message of "Thu, 16 Feb 2012 10:28:42 +0100")

Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> 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
          ...

      reply	other threads:[~2012-02-16 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15 20:36 [PATCH] completion: --list option for git-branch Ralf Thielow
2012-02-16  9:28 ` Zbigniew Jędrzejewski-Szmek
2012-02-16 18:07   ` Junio C Hamano [this message]

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=7vpqdezm6u.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=ralf.thielow@googlemail.com \
    --cc=spearce@spearce.org \
    --cc=zbyszek@in.waw.pl \
    /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