]> khamidou — GitHub mirrors - arcanist.git/commit
Add a "--raw" flag to "arc diff"
authorepriestley <git@epriestley.com>
Thu, 5 Jan 2012 21:36:24 +0000 (13:36 -0800)
committerepriestley <git@epriestley.com>
Thu, 5 Jan 2012 22:13:30 +0000 (14:13 -0800)
commitc49e9863d40cce12cf1f4842402523a404d9ecd5
tree26c5099d45e2196773484bc94cd5778da984621d
parent560b339ad3b4af4667ae1abd2f59b2dfe7fedf74
Add a "--raw" flag to "arc diff"

Summary:
Some Mercurial users at Dropbox have very specific diff preparation
needs. Allow "arc" to read an arbitrary diff off stdin. This disables most
features.

Test Plan:
Ran "git diff HEAD | arc diff --raw", "git show | arc diff --raw",
"hg diff --rev 8 | arc diff --raw".

Reviewers: btrahan, jungejason, Makinde

Reviewed By: btrahan

CC: aran, btrahan
Maniphest Tasks: T617

Differential Revision: https://secure.phabricator.com/D1323
src/workflow/diff/ArcanistDiffWorkflow.php