mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 08:52:39 +01:00
Merge pull request #52 from killme2008/master
Fixed git branch name contains color
This commit is contained in:
commit
f5bb4177c3
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue