]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Added 'edit' field to 'getcommitmessage' conduit calls.
authortuomaspelkonen <tuomas.pelkonen@fb.com>
Tue, 3 May 2011 01:54:20 +0000 (18:54 -0700)
committertuomaspelkonen <tuomas.pelkonen@fb.com>
Tue, 3 May 2011 18:26:01 +0000 (11:26 -0700)
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
src/workflow/commit/ArcanistCommitWorkflow.php

index 177f5cd5b59986af3eb93257de9a09799e13a79c..e722e1375f7dc6d8204d1c47ac192befd41d2394 100644 (file)
@@ -109,6 +109,7 @@ EOTEXT
       'differential.getcommitmessage',
       array(
         'revision_id' => $revision_id,
+        'edit'        => false,
       ));
 
     if ($this->getArgument('show')) {
index b5584bab4044f121f1bd8d2937dc2c00bbaa90ec..348d47eccf6c49a497e632aaf4c9e489942d612d 100644 (file)
@@ -100,6 +100,7 @@ EOTEXT
       'differential.getcommitmessage',
       array(
         'revision_id' => $revision_id,
+        'edit'        => false,
       ));
 
     if ($this->getArgument('show')) {