From c77ec2bdc67056b26a5c422b7347209bd85cb891 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 5 Apr 2013 23:17:40 -0700 Subject: [PATCH] Escape ^ on command line (significant on Windows) --- src/workflow/ArcanistLandWorkflow.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)', -- 2.43.0