Rodrigo Fernandes
0b3c3986c5
Fix eslint setup
2016-09-10 14:15:33 +01:00
Rodrigo Fernandes
ed8d33930d
Fix git diff with renames and hunk headers
...
When we have the file names we consider that the file is already past
the hunk header (@@) and since the renames were setting the names
before the diff was confused.
To fix this I kind of hacked a solution that only uses the rename
file paths if there is no hunk header comming.
We need to find a better way to decide when to start new hunk, finish
files etc
2016-09-02 17:45:35 +01:00
Rodrigo Fernandes
9bbc87ae89
Fix parsing of binary files
2016-07-12 16:18:42 +01:00
Rodrigo Fernandes
f2858f6c45
Fix parsing in cases where body lines can be confused with header lines
2016-06-28 22:15:03 +01:00
Rodrigo Fernandes
7c79cc32db
Fix parsing body lines starting with --- and +++
2016-06-27 21:13:25 +01:00
Rodrigo Fernandes
cb145eddf6
Add support for parsing unified diffs
...
* Refactor code to separate parser parts
* Add test for unified example
2016-05-06 23:02:05 +01:00
Rodrigo Fernandes
3fd5eb86bb
Fix parsing of line numbers
2016-04-25 16:20:40 +01:00
Rodrigo Fernandes
374265354e
Add more tests and fix index parsing
2016-04-25 12:17:04 +01:00
Rodrigo Fernandes
e44b2a2885
Fix filename parsing with special characters and prefixes
...
* Add support for diffs with prefixes through configuration
* Fix parsing of filenames with special chars
2016-02-23 18:21:34 +00:00
Rodrigo Fernandes
93dd322382
Add more eol tests for old os x and mixed eols
2016-02-07 12:47:00 +00:00
Rodrigo Fernandes
269a6268c4
Fix parsing on Windows
...
Replace windows EOL by Unix EOL
2016-02-06 18:50:47 +00:00