From: vrana Date: Fri, 22 Feb 2013 20:33:31 +0000 (-0800) Subject: Fix arc diff --verbatim X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4d28d91d983671ba81c2ac240d714cef62b2bd7d;p=arcanist.git Fix arc diff --verbatim --- diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index f589ec38..afef0c37 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -1855,7 +1855,9 @@ EOTEXT $local = $repository_api->getLocalCommitInformation(); if ($local) { $result = $this->parseCommitMessagesIntoFields($local); - unset($result[0]['revisionID']); + if ($this->getArgument('create')) { + unset($result[0]['revisionID']); + } } $result[0] = $this->dispatchWillBuildEvent($result[0]);