git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to achieve "git tag --merged"?
@ 2010-04-27  7:59 Peter Krefting
  2010-04-27 11:26 ` Lars Hjemli
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Krefting @ 2010-04-27  7:59 UTC (permalink / raw)
  To: Git Mailing List

Hi!

To look up which branches are contained by the current commit, "git branch 
--merged" is fine. Is there a way to do the same for tags?

I.e., I wish to list all tags that are set on commits that are ancestors of 
the current commit, basically the reverse of "git tag --contains", except I 
also want any tag that is exactly on the commit ID I enter.

-- 
\\// Peter - http://www.softwolves.pp.se/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to achieve "git tag --merged"?
  2010-04-27  7:59 How to achieve "git tag --merged"? Peter Krefting
@ 2010-04-27 11:26 ` Lars Hjemli
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Hjemli @ 2010-04-27 11:26 UTC (permalink / raw)
  To: Peter Krefting; +Cc: Git Mailing List

On Tue, Apr 27, 2010 at 09:59, Peter Krefting <peter@softwolves.pp.se> wrote:
> I wish to list all tags that are set on commits that are ancestors of
> the current commit

Try `git log --decorate --simplify-by-decoration --pretty=%d`

--
larsh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-27 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27  7:59 How to achieve "git tag --merged"? Peter Krefting
2010-04-27 11:26 ` Lars Hjemli

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