Skip to content

Commit

Permalink
GitRepository: isRemoteUrlReadable() - improved detection
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Mar 13, 2017
1 parent 709cc48 commit 9cf9a6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GitRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ public static function isRemoteUrlReadable($url, array $refs = NULL)
'GIT_TERMINAL_PROMPT=0 git ls-remote',
'--heads',
'--quiet',
'--exit-code',
$url,
$refs,
)) . ' 2>&1', $output, $returnCode);
Expand Down

0 comments on commit 9cf9a6d

Please sign in to comment.