Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Show the (first?) tags that a commit (or PR) appears in #858

Open
tlrobinson opened this issue Jan 15, 2017 · 1 comment
Open

Show the (first?) tags that a commit (or PR) appears in #858

tlrobinson opened this issue Jan 15, 2017 · 1 comment

Comments

@tlrobinson
Copy link

It would be very useful to see which tag (typically a version number) a particular commit (or merged PR) first appears in. Basically git tag --contains $COMMIT. Or perhaps just show all tags in chronological order (since most commits would often appear first in a release candidate)

@seanf
Copy link

seanf commented Jan 30, 2018

I'm not sure how long it's been there, but you can actually do this now, although it's not as simple as I would prefer. (eg showing it on the PR automatically.)

If you can find the point in a PR where it was merged, the commit link shows whether the commit belongs to master and also summarises the tags which contain the commit.

eg for this PR: microsoft/TypeScript#19675

  • weswigham merged commit 7e63150 into Microsoft:master 21 days ago

That link is to the commit page microsoft/TypeScript@7e63150, which (once you scroll past the commit message) shows that the commit is in master and the tags v2.7.0 and v2.7-rc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants