Show git commands to get around "branches/tags unavailable" in commit detail view
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
Empower users to get around the scenario of when branches/tags are unavailable in the commit detail view.
Possible solutions
from #325871 (comment 1236001893)
About the “Project has too many branches to search” tooltip, how can we help users if they want to know this information? For example, can we give them a git
command to return this information locally, showing that in a drawer or modal? From https://git-scm.com/docs/git-branch#\_notes, is git branch --contains [<commit>] --merged [<commit>]
appropriate?
The best solution is to mitigate the problem in the first place, allowing us to retrieve this information on large projects, as @tlinz mentioned in #325871 (comment 1096324279), but we should try to guide users to a solution in the interim, if we can.