Page MenuHomePhabricator

Error running arc diff command: sprintf(): Too few arguments at ArcanistWorkflow.php:1024
Closed, ResolvedPublic

Description

When running arc diff the following error appears in the console before the EDITOR (in our case vim) opens.

[2015-05-14 05:35:46] ERROR 2: sprintf(): Too few arguments at [<path>/arcanist/src/workflow/ArcanistWorkflow.php:1024]
arcanist(head=master, ref.master=f00d4219ddab), phutil(head=master, ref.master=f06c0b71f369)
  #0 sprintf(string, string) called at [<arcanist>/src/workflow/ArcanistWorkflow.php:1024]
  #1 ArcanistWorkflow::requireCleanWorkingCopy() called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:640]
  #2 ArcanistDiffWorkflow::runDiffSetupBasics() called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:430]
  #3 ArcanistDiffWorkflow::run() called at [<arcanist>/scripts/arcanist.php:387]

arc appears to continue and opens the editor, but for us, the template in the EDITOR does not display properly.

Revisions and Commits

Restricted Differential Revision

Event Timeline

nevogd raised the priority of this task from to Needs Triage.
nevogd updated the task description. (Show Details)
nevogd added a project: Arcanist.
nevogd added a subscriber: nevogd.
nevogd added a revision: Restricted Differential Revision.May 14 2015, 12:59 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.May 14 2015, 12:59 PM
epriestley added a commit: Restricted Diffusion Commit.