From: Andrew Finnemore Date: Thu, 14 May 2015 12:59:43 +0000 (-0700) Subject: Fix missing comma in sprintf() in ArcanistWorkflow. X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=383633e63fd7d4a338f910d84f183bb535ec7be8;p=arcanist.git Fix missing comma in sprintf() in ArcanistWorkflow. Summary: Refs D12607. Fixes T8195. Replace period in the sprintf() arguments with a comma. Test Plan: Ran `arc diff` in the patch applied, did not get the sprintf() error Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Maniphest Tasks: T8195 Differential Revision: https://secure.phabricator.com/D12837 --- diff --git a/src/workflow/ArcanistWorkflow.php b/src/workflow/ArcanistWorkflow.php index 78d5f5be..700487e5 100644 --- a/src/workflow/ArcanistWorkflow.php +++ b/src/workflow/ArcanistWorkflow.php @@ -1019,7 +1019,7 @@ abstract class ArcanistWorkflow extends Phobject { $api->amendCommit($commit['message']); } else if ($api->supportsLocalCommits()) { $template = sprintf( - "\n\n# %s\n#\n# %s\n#\n". + "\n\n# %s\n#\n# %s\n#\n", pht('Enter a commit message.'), pht('Changes:'));