Find file, History and Blame buttons show tag contents when branch has the same name
The following discussion from !122145 (merged) should be addressed:
-
@leipert started a discussion: (+2 comments) @jerasmus The history button on a BRANCH redirects me to the history of the tag:
What is happening
When there is a branch and tag with the same clicking History
from the tree view will lead to the commits view for the tag regardless of whether or not the tree view was displaying contents for the branch of the tag.
A similar thing happens in the blob view.
Proposal/What should happen
The history and blame buttons (links to commits and blame) should include a ref_type parameter when that context is available. e.g When clicking on history when viewing a blob on a branch should lead to commits for the branch.
Edited by Jerry Seto