]> khamidou — GitHub mirrors - arcanist.git/commit
Make ArcanistDiffParser automatically load synthetic changes if the working copy...
authorepriestley <git@epriestley.com>
Sat, 20 Oct 2012 15:42:16 +0000 (08:42 -0700)
committerepriestley <git@epriestley.com>
Sat, 20 Oct 2012 15:42:16 +0000 (08:42 -0700)
commit5981aa1df4578e8c8b564995f5931a68c05b5f7a
tree41cdb81708f3bddd75cc2d0fb727004c854d5269
parent835f2afb5d3b43ee424926b3f47b281ae4474388
Make ArcanistDiffParser automatically load synthetic changes if the working copy is available

Summary: Make this harder to get wrong. Instead of requiring a separate call for synthetic data, automatically load it if we can.

Test Plan: Unit tests; `arc diff`.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran
Maniphest Tasks: T866

Differential Revision: https://secure.phabricator.com/D3750
src/parser/ArcanistDiffParser.php
src/parser/__tests__/ArcanistBundleTestCase.php
src/workflow/ArcanistBaseWorkflow.php
src/workflow/ArcanistDiffWorkflow.php
src/workflow/ArcanistExportWorkflow.php