diff --git a/src/GitRepository.php b/src/GitRepository.php index 9f9ee41..07a31dc 100644 --- a/src/GitRepository.php +++ b/src/GitRepository.php @@ -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);