diff --git a/src/GitElephant/Objects/Remote.php b/src/GitElephant/Objects/Remote.php index cc321619..eeaa2883 100644 --- a/src/GitElephant/Objects/Remote.php +++ b/src/GitElephant/Objects/Remote.php @@ -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(