Permalink to collapsed diff line does not work
Summary
If you open a permalink to a collapsed diff, the diff is not expanded automatically, so the link doesn't work.
Steps to reproduce
- Create a large commit with collapsed diffs.
- Uncollapse a diff.
- Click on a line number in an uncollapsed diff.
- Copy the url from the address bar.
- Paste the url into a new window.
Expected behavior
The commit is shown with the diff containing the selected line uncollapsed, and the browser scrolls to that line.
Actual behaviour
The commit is opened with the diff containing the selected line collapsed, so the browser can't scroll to that line. It's impossible to find out which line the link pointed to.
Relevant logs and/or screenshots
This should link to Godeps.json's new line 4.