Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: avoid splitlines in blame (#1015)
* fix: split blame output by "\n" explicitly This avoid additional "line break" symbols in source code from being considered as line breaks in our parser. Git seems to only ever consider '\n' as a newline character, but python's "splitlines()" method considers many others by default. Refs: https://github.com/python/cpython/blob/3.4/Objects/unicodetype_db.h#L4317-L4338 https://github.com/git/git/blob/master/blame.c#L1633-L1637 * fix: skip empty last line while parsing blame
- Loading branch information