Code line link on folded diff not working
Summary
A link to a line of code within a folded MR will not redirect to the line in particular but to the diff page in general.
Steps to reproduce
- Choose a diff which has folded code.
- Unfold the code and select a line number
- Copy the url from the browser
- Paste it in another tab
- When the page loads it will redirect us to the page
Expected behavior
When loading a line link from a folded diff I expect to view the exact line.
Actual behavior
When loading a line link from a folded diff I get redirected to the top of the diff page
Relevant logs and/or screenshots
This has been reproduced in GitLab.com
/cc @jschatz1