1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 01:28:51 +02:00
phorge-arcanist/src/parser
epriestley 65b6e1bdac Don't parse separator tabs as part of the filename in Git diffs which affect files with spaces
Summary:
Fixes T5870. When a filename contains spaces, Git will add a "\t" at the end of the "---" and "+++" lines. We currently consume this and think we're reading a file called "blah blah\t".

Instead, parse it out as not part of the filename.

Test Plan: Added failing unit test and made it pass.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5870

Differential Revision: https://secure.phabricator.com/D10267
2014-08-14 12:13:02 -07:00
..
__tests__ Don't parse separator tabs as part of the filename in Git diffs which affect files with spaces 2014-08-14 12:13:02 -07:00
diff Fix double file content in files in new subdirectories in Subversion 2014-07-15 09:43:04 -07:00
ArcanistBaseCommitParser.php Remove @group annotations 2014-07-09 09:12:13 +10:00
ArcanistBundle.php Fix various spelling mistakes 2014-07-13 00:45:38 +10:00
ArcanistCommentRemover.php Delete license headers from files 2012-11-05 11:16:24 -08:00
ArcanistDiffParser.php Don't parse separator tabs as part of the filename in Git diffs which affect files with spaces 2014-08-14 12:13:02 -07:00