From: Junio C Hamano <gitster@pobox.com>
To: Peter Krefting <peter@softwolves.pp.se>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git tag --no-merged?
Date: Wed, 04 Feb 2015 10:43:40 -0800 [thread overview]
Message-ID: <xmqq61bho6ub.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1502041615110.30476@ds9.cixit.se> (Peter Krefting's message of "Wed, 4 Feb 2015 16:19:59 +0100 (CET)")
Peter Krefting <peter@softwolves.pp.se> writes:
> Using "git branch --no-merged" I can get a list of branches that I
> have that I haven't merged into my current branch. "git tag" doesn't
> have such an option, is there a way to achieve something similar
> listing tags that point to commits that aren't in my history?
Using canned set of tools, I do not think there is anything less
complex than doing something like:
$ git log --oneline --decorate --branches --not --tags
The longer term goal that has been floated a few times here is to
unify various logic that computes containment relationships in
"branch", "tags", etc. to one place and perhaps expose that unified
logic to "for-each-ref", but that hasn't happened yet.
next prev parent reply other threads:[~2015-02-04 18:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-04 15:19 git tag --no-merged? Peter Krefting
2015-02-04 18:43 ` Junio C Hamano [this message]
2015-02-04 18:57 ` Johannes Sixt
2015-02-04 21:27 ` Junio C Hamano
2015-02-05 0:22 ` Kyle J. McKay
2015-02-05 9:09 ` Peter Krefting
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=xmqq61bho6ub.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=peter@softwolves.pp.se \
/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