git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jed Brown <jed@59A2.org>
To: git@vger.kernel.org
Subject: git branch: multiple --merged and --no-merged options?
Date: Fri, 15 Mar 2013 14:38:12 -0500	[thread overview]
Message-ID: <87fvzwmp23.fsf@59A2.org> (raw)

I find myself frequently running commands like this

  $ comm -12 <(git branch --no-merged master) <(git branch --merged next)

when checking for graduation candidates. Of course I first tried

  $ git branch --no-merged master --merged next

but this is equivalent to

  $ git branch --merged next


Isn't this query common enough to have a nicer interface? What do other
people use?

             reply	other threads:[~2013-03-15 19:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 19:38 Jed Brown [this message]
2013-03-22 17:50 ` Jeff King
2013-03-23  2:46   ` Jed Brown
2013-03-23  8:13     ` Jeff King

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=87fvzwmp23.fsf@59A2.org \
    --to=jed@59a2.org \
    --cc=git@vger.kernel.org \
    --subject='Re: git branch: multiple --merged and --no-merged options?' \
    /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

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).