]> khamidou — GitHub mirrors - arcanist.git/commit
Make "arc patch" read `authorName` and `authorEmail`
authorepriestley <git@epriestley.com>
Wed, 6 Feb 2013 04:11:39 +0000 (20:11 -0800)
committerepriestley <git@epriestley.com>
Wed, 6 Feb 2013 04:11:39 +0000 (20:11 -0800)
commitd952502f12b41d02ab37ba48c052135c34327f27
treeb77b15a42215ce383112c4ec480d02b97c9b7475
parent99feb5c28e3cdcf61b9c99d9ff3e9924c2d507ee
Make "arc patch" read `authorName` and `authorEmail`

Summary: If provided, have `arc patch` use `authorName` / `authorEmail`. This simplifies handling and makes patches more portable between version control systems (previously, information was generated in the diff's VCS, regardless of which VCS it was being applied to).

Test Plan: Created a diff with author `derp <derp@derp.com>`, ran `arc patch --diff x`, got a local commit with that author.

Reviewers: btrahan, edward, vrana

Reviewed By: btrahan

CC: aran
Differential Revision: https://secure.phabricator.com/D4827
src/parser/ArcanistBundle.php
src/workflow/ArcanistBaseWorkflow.php
src/workflow/ArcanistPatchWorkflow.php