klaussilveira/gitlist — pull request #508 by fauxpark (2014-08-31 07:50:38+00:00)
Title: Nicer looking diff anchor targets

In HTML5 the `name` attribute for anchor tags has been removed (although it still works in most if not all browsers). Use `id` instead and prepend "diff-" to show that the url leads to a diff, eg. http://gitlistserver/repo/commit/1234567/#diff-1