From: Jakub Vrana Date: Sat, 6 Apr 2013 06:17:40 +0000 (-0700) Subject: Escape ^ on command line (significant on Windows) X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c77ec2bdc67056b26a5c422b7347209bd85cb891;p=arcanist.git Escape ^ on command line (significant on Windows) --- diff --git a/src/workflow/ArcanistLandWorkflow.php b/src/workflow/ArcanistLandWorkflow.php index 6bd36d78..7fdb23ee 100644 --- a/src/workflow/ArcanistLandWorkflow.php +++ b/src/workflow/ArcanistLandWorkflow.php @@ -323,9 +323,9 @@ EOTEXT if ($repository_api instanceof ArcanistGitAPI) { list($out) = $repository_api->execxLocal( - 'log --oneline %s ^%s', + 'log --oneline %s %s', $this->branch, - $this->onto); + '^'.$this->onto); } else if ($repository_api instanceof ArcanistMercurialAPI) { $common_ancestor = $repository_api->getCanonicalRevisionName( hgsprintf('ancestor(%s,%s)',