]> khamidou — GitHub mirrors - arcanist.git/commit
Set the CWD before applying a git patch
authorGareth Evans <garoevans@gmail.com>
Sat, 28 Sep 2013 13:53:15 +0000 (06:53 -0700)
committerepriestley <git@epriestley.com>
Sat, 28 Sep 2013 13:53:20 +0000 (06:53 -0700)
commit1ead3cc307a7a8143a13e2debe5d4a2f6819a2b3
tree3c460d828dd89654f469feb9aaf2cf0ef056cd4d
parent08536d8917bdfc0f94e22555b01a5a2a13c13445
Set the CWD before applying a git patch

Summary:
If in a subdirectory, any changes made in a different location
is missed from the patch with no errors from git. The other
option was to run some logic to compare the files being changed.

Test Plan:
Run arc patch from a subdirectory that would miss some files
previously.

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, aran
Maniphest Tasks: T3733

Differential Revision: https://secure.phabricator.com/D7167
src/workflow/ArcanistPatchWorkflow.php