I want to find tagged revisions that include a given merge. I found this question about finding commits in a tagged revision, which I fail to put it in practice.
Concrete case: finding tagged revisions of matplotlib that contains this merge.
I go to the list of commits included in the merge, I take the first one with id cf11aea and type
git tag --contains cf11aea
This does not return any result.
When trying to look at commits with the same patch id with the script given in the question above, it returns a single answer — the original commit.
So how to find tagged revisions with a given merge, is this different from finding tagged revisions with a given commit?
(This question is not about matplotlib itself.)
EDIT
One explanation could be indeed that the merge is not part of any tagged revision. However modifications brought by this merge can be seen in the source of tagged revisions. E.g. this modified line from cf11aea can been seen in the source of v2.0.0.