From e04ea5c7d8bb7699e2ca23e60e5de376411babb6 Mon Sep 17 00:00:00 2001 From: tuomaspelkonen Date: Mon, 2 May 2011 18:54:20 -0700 Subject: [PATCH] Added 'edit' field to 'getcommitmessage' conduit calls. Summary: Server log was showing errors for undefined index 'edit'. Test Plan: arc lint Reviewed By: jungejason Reviewers: jungejason, grglr Commenters: grglr CC: aran, epriestley, grglr, jungejason, tuomaspelkonen Differential Revision: 217 --- src/workflow/amend/ArcanistAmendWorkflow.php | 1 + src/workflow/commit/ArcanistCommitWorkflow.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/workflow/amend/ArcanistAmendWorkflow.php b/src/workflow/amend/ArcanistAmendWorkflow.php index 177f5cd5..e722e137 100644 --- a/src/workflow/amend/ArcanistAmendWorkflow.php +++ b/src/workflow/amend/ArcanistAmendWorkflow.php @@ -109,6 +109,7 @@ EOTEXT 'differential.getcommitmessage', array( 'revision_id' => $revision_id, + 'edit' => false, )); if ($this->getArgument('show')) { diff --git a/src/workflow/commit/ArcanistCommitWorkflow.php b/src/workflow/commit/ArcanistCommitWorkflow.php index b5584bab..348d47ec 100644 --- a/src/workflow/commit/ArcanistCommitWorkflow.php +++ b/src/workflow/commit/ArcanistCommitWorkflow.php @@ -100,6 +100,7 @@ EOTEXT 'differential.getcommitmessage', array( 'revision_id' => $revision_id, + 'edit' => false, )); if ($this->getArgument('show')) {