Learn more about these different git repos.
Other Git URLs
The hashes are of by one, not mentioned that some lines contains names where the other displays just avatars. Please see the attached SS of Pagure vs the "git blame" output
<img alt="Snimek_z_2017-10-25_18-19-14.png" src="/pagure/issue/raw/97d59db9476621156706cb538dba163a4ea33fa2b533cfd6d1f899bf71e6e972-Snimek_z_2017-10-25_18-19-14.png" />
<img alt="Snimek_z_2017-10-25_18-19-43.png" src="/pagure/issue/raw/5fe2eff376fb98248b9e6ede7b45d32687b75eb3ae1ad0f7fdfe346d82fffd01-Snimek_z_2017-10-25_18-19-43.png" />
Actually, there seems to be missing the first and last line (both empty lines), like if some "trim" was applied on the file.
By default pagure will only show the avatar, but when it cannot find an user associated with the email of the committer, it uses the name set in the commit. So in this case, pagure doesn't know Rex's email address and thus display his name.
I'll look at the line issue, it is a little odd indeed.
Metadata Update from @pingou: - Issue tagged with: bug
I tracked this down to pygments.highlight() being the culprit at removing the leading and trailing empty lines, but I don't have a fix for it :(
pygments.highlight()
Metadata Update from @pingou: - Issue assigned to karsten
Metadata Update from @pingou: - Issue assigned to pingou (was: karsten)
Commit 5d87580 fixes this issue
Login to comment on this ticket.