Create computable named anchors for diffs in the commit's page
Description
My GitLab integration, makes it possible to search for diffs in GitLab, but due to how named anchors are created in GitLab, there is no way to link matching diffs, to the diffs in GitLab's commit's page. Right now, the following naming scheme is used:
diff-1, diff-2, ...
and the only way to determine what diff anchor corresponds to what file, is to scrape the page.
Proposal
Do what GitHub does and use the file's md5 hash value as the named anchor. For example, the md5 for 'src/runtime/stubs.go' is 55823319a42746a682fe758b664d8b34 and if you click on the link below, it will take you to the diff for 'src/runtime/stubs.go'.
Links / references
Below is an example of how the diffs search works and why being able to link the matching diffs would improve the overall user experience. This would be especially important if the commit contains many changes.