Skip to content

Commit

Permalink
Fixed the last workaround matteosister#112
Browse files Browse the repository at this point in the history
  • Loading branch information
geek-merlin committed Aug 6, 2017
1 parent 1fb0229 commit e5db0a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GitElephant/Objects/Remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ public function parseOutputLines(Array $remoteDetails)
throw new \UnexpectedValueException(sprintf('Invalid data provided for remote detail parsing'));
}
$this->name = $name;
$fetchURLPattern = '/^(Fetch\s+URL|\s*URL zum Abholen):\s*(.*)$/';
$fetchURLPattern = '/^(?:Fetch\s+URL|\s*URL zum Abholen):\s*(.*)$/';
$fetchURL = null;

$pushURLPattern = '/^(Push\s+URL|\s*URL zum Versenden):\s*(.*)$/';
$pushURLPattern = '/^(?:Push\s+URL|\s*URL zum Versenden):\s*(.*)$/';
$pushURL = null;

$remoteHEADPattern = '/^(HEAD\s+branch|\s*Hauptbranch):\s*(.*)$/';
$remoteHEADPattern = '/^(?:HEAD\s+branch|\s*Hauptbranch):\s*(.*)$/';
$remoteHEAD = null;

$remoteBranchHeaderPattern = '/^Remote[\s-]+branch(?:es)?:$/i';
Expand Down

0 comments on commit e5db0a3

Please sign in to comment.