Discrepancy in line number when viewing blame
Closed
Discrepancy in line number when viewing blame
Created by: chawarong
Viewing code with line numbers in normal view and blame view shows up differently.
For example, a file's got 10 lines of code shows up 9 lines when viewing in blame view.
Basically, the blank line is miscount.
I'm using Gitlab version 6.0.0 6c1c2842.
Would be nice if this can be fixed.
Created by: Plonk42
Also
\n
is not handled properly.In normal (highlighted) mode, we have :
42 : printf("this is a line ending by line feeds \n\n");
In blame mode, we have :
42 : printf("this is a line ending by line feeds 43 : 44 : ");
By Administrator on 2014-01-23T09:19:52 (imported from GitLab project)
Created by: jvanbaarsen
Relevant to: https://github.com/gitlabhq/gitlabhq/issues/5936
By Administrator on 2014-01-23T09:48:55 (imported from GitLab project)
Created by: skv-headless
still reproduced https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/admin.js.coffee https://gitlab.com/gitlab-org/gitlab-ce/blame/master/app/assets/javascripts/admin.js.coffee since 27 line
By Administrator on 2014-09-19T10:09:47 (imported from GitLab project)