diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php index e92244b9..d9b8465d 100644 --- a/src/repository/api/ArcanistGitAPI.php +++ b/src/repository/api/ArcanistGitAPI.php @@ -336,7 +336,7 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI { // $ git rev-parse --abbrev-ref `git symbolic-ref HEAD` // // But that may fail if you're not on a branch. - list($stdout) = $this->execxLocal('branch'); + list($stdout) = $this->execxLocal('branch --no-color'); $matches = null; if (preg_match('/^\* (.+)$/m', $stdout, $matches)) {