Permalink
Browse files

Escape ^ on command line (significant on Windows)

  • Loading branch information...
1 parent 576c47a commit c77ec2bdc67056b26a5c422b7347209bd85cb891 @vrana vrana committed Apr 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/workflow/ArcanistLandWorkflow.php
@@ -323,9 +323,9 @@ private function printPendingCommits() {
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)',

0 comments on commit c77ec2b

Please sign in to comment.