On Github, see if a tag includes a pull request?

2k views Asked by At

Say I am looking at a pull request from alice/foo to bob/foo. bob/foo has a tag v1.0 at abc67. From the website, how can I tell whether Alice's pull request is an ancestor of v1.0?

1

There are 1 answers

0
therobinkim On

Something I tried -- I don't know 100% if this works as I think it does, but in case it helps:

So.. if somebody makes a pull request, I'm thinking that I should be able to go to the branch, check their git commit log from where they're making the pull request from, and check if the commits related to the tag exist there.

On https://github.com/jquery/jquery/commits/3.1.1, ee2e37 and 51c29dc both exist.

On https://github.com/jquery/jquery/commits/master, you'll see that ee2e37 doesn't exist, but 51c29dc does, which would have me thinking: "a pull request made from here to the 3.1.1 tag actually doesn't include all of the commits that come with the 3.1.1 tag".