1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-04-03 07:58:17 +02:00
Commit graph

2 commits

Author SHA1 Message Date
epriestley
1da98a11f1 Correctly parse git diffs with an empty file at the end
Summary: A minor bug in the parser prevented it from handling git diffs where an
empty file appears at the end of the diff. Since git appends an extra newline,
we failed to jump into the '$line === null' block.

Test Plan: Ran unit tests. Generated a revision which only deleted an empty
file.

Reviewers: jungejason, nh, tuomaspelkonen, aran

Reviewed By: nh

CC: aran, nh, epriestley

Differential Revision: 998
2011-10-10 19:03:48 -07:00
epriestley
2e73916fa2 Initial commit. 2011-01-09 15:22:25 -08:00