]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix missing comma in sprintf() in ArcanistWorkflow.
authorAndrew Finnemore <a.finnemore@tsatrust.org.uk>
Thu, 14 May 2015 12:59:43 +0000 (05:59 -0700)
committerepriestley <git@epriestley.com>
Thu, 14 May 2015 12:59:44 +0000 (05:59 -0700)
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

index 78d5f5bee280d0a85568e3400df52518e1d51fe5..700487e5881696338ac5f7c15a882c5b422e9d94 100644 (file)
@@ -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:'));