Skip to content

Commit

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

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

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

$remoteBranchHeaderPattern = '/^Remote\s+branch(?:es)?:$/';
$remoteBranchHeaderPattern = '/^Remote[\s-]+branch(?:es)?:$/i';
$localBranchPullHeaderPattern = '/^Local\sbranch(?:es)?\sconfigured\sfor\s\'git\spull\'\:$/';
$localRefPushHeaderPattern = '/^Local\sref(?:s)?\sconfigured\sfor\s\'git\spush\':$/';
$groups = array(
Expand Down

0 comments on commit 1fb0229

Please sign in to comment.