Originally created by: algorithms
Our current method for line numbering using pygments is dumb, meaning it doesn't under stand that when showing the output of a commit diff, it should use the line numbers from the original file(s) not just number them 1-n. Other tools that have solved this problem are ReviewBoard and Trac. Maybe look to their source for examples.
Created #152: [#3931] Commit diff viewer should use file line numbers (3cp)
Related
Tickets: #3931
Originally by: algorithms
We received permission from the author of rhodecode to re-license parts of his code under ASF. His diff lib is better than ours currently and gets line numbering correct.
https://bitbucket.org/marcinkuzminski/rhodecode/src
Closed #152. Branch 42cc_3931