Show tags a merged MR is into
Description
When viewing a commit, it shows the tags and branches it is part of. It would be nice for a merged MR which shows The changes were merged into master.
, it followed it with It is also available in the tags vX, vY, and vZ.
so that users can know what versions contain the fix. Further work could also show this information in issues which are closed by merge requests.
Proposal
Show every tag an MR is merged into, if any tag is the ancestor of another, remove the descendant tag from the list. For example, given separate branches for versions 3.x and 4.x, if an MR lands in 3.3 and 4.1 and the current versions are 3.5 and 4.3, the MR is in the tags 3.3, 3.4, 3.5, 4.1, 4.2, and 4.3, but set of the 3.3 and 4.1 tags are ancestors of all relevant tags, so showing those would be sufficient.