]> khamidou — GitHub mirrors - arcanist.git/commit
Fix `arc diff --raw`
authorepriestley <git@epriestley.com>
Wed, 31 Oct 2012 18:50:43 +0000 (11:50 -0700)
committerepriestley <git@epriestley.com>
Wed, 31 Oct 2012 18:50:43 +0000 (11:50 -0700)
commit24405e0e861f87817b4e230f5d762ecf1c009fee
treefe983ac9068ab297fa3d0d42c5a8f94e06bd30fb
parent475a576fdc8ae5fc888c4a10d93827c9ef52ca14
Fix `arc diff --raw`

Summary: I broke this in D3750. Calling `getRepositoryAPI()` triggers a check for workflow requirement of the repository API. Instead, we should just check if we alreayd have one.

Test Plan: Ran `cat x | arc diff --raw`.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran
Maniphest Tasks: T1998

Differential Revision: https://secure.phabricator.com/D3848
src/workflow/ArcanistBaseWorkflow.php