From: epriestley Date: Sat, 7 Apr 2012 17:36:16 +0000 (-0700) Subject: Fix an issue with "arc diff --update" in Git on immutable workflows X-Git-Tag: conduit-4~61 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=39c3a0c43a323203fad04a9ec6b4b3d43328c793;p=arcanist.git Fix an issue with "arc diff --update" in Git on immutable workflows Summary: This should be a raw text block, not a parsed message object. I broke this in rARC1f13e022cdc9bf4859274a83784bd615caf62ef9 when I improved Mercurial support. See: https://github.com/facebook/arcanist/issues/23 Test Plan: (Will update this diff...) Reviewers: vrana, jungejason, btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D2136 --- diff --git a/src/workflow/diff/ArcanistDiffWorkflow.php b/src/workflow/diff/ArcanistDiffWorkflow.php index a68e130b..1353408e 100644 --- a/src/workflow/diff/ArcanistDiffWorkflow.php +++ b/src/workflow/diff/ArcanistDiffWorkflow.php @@ -1777,7 +1777,7 @@ EOTEXT } // Otherwise, this looks new, so it's a usable commit message. - $usable[] = $message; + $usable[] = $text; } if (!$usable) {