]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Escape ^ on command line (significant on Windows)
authorJakub Vrana <jakub@vrana.cz>
Sat, 6 Apr 2013 06:17:40 +0000 (23:17 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sat, 6 Apr 2013 06:17:40 +0000 (23:17 -0700)
src/workflow/ArcanistLandWorkflow.php

index 6bd36d7804d7067e1145eb6781c93fa313168f52..7fdb23ee177082b9d26b7325e1e76602f7b72522 100644 (file)
@@ -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)',