From: Junio C Hamano <gitster@pobox.com>
To: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Cc: Joey Hess <joey@kitenet.net>, git@vger.kernel.org
Subject: Re: finding unmerged branches
Date: Thu, 27 Aug 2009 16:25:12 -0700 [thread overview]
Message-ID: <7vd46gn8kn.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <20090827223504.GA18307@atjola.homenet> ("Björn Steinbrink"'s message of "Fri\, 28 Aug 2009 00\:35\:04 +0200")
Björn Steinbrink <B.Steinbrink@gmx.de> writes:
> Hm, not sure if I'd call it "better", but probably at least a bit
> faster. You could create a "fake" merge to combine all the branches.
>
> git branch -r --no-merged $(
> : | git commit-tree HEAD^{tree} $(
> git for-each-ref --format='-p %(refname)' \
> refs/heads/ \
> refs/remotes/origin
> )
> )
Heh, that is certainly a cute hack ;-)
next prev parent reply other threads:[~2009-08-27 23:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 22:02 finding unmerged branches Joey Hess
2009-08-27 22:22 ` Avery Pennarun
2009-08-28 0:54 ` Joey Hess
2009-08-27 22:35 ` Björn Steinbrink
2009-08-27 23:25 ` Junio C Hamano [this message]
2009-08-28 0:44 ` Joey Hess
2009-08-28 2:08 ` Joey Hess
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=7vd46gn8kn.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=B.Steinbrink@gmx.de \
--cc=git@vger.kernel.org \
--cc=joey@kitenet.net \
/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;
as well as URLs for NNTP newsgroup(s).