From 383633e63fd7d4a338f910d84f183bb535ec7be8 Mon Sep 17 00:00:00 2001 From: Andrew Finnemore Date: Thu, 14 May 2015 05:59:43 -0700 Subject: [PATCH] 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 --- src/workflow/ArcanistWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:')); -- 2.43.0