Skip to content

Allow ls-remote to return an empty response

Zeger-Jan van de Weg requested to merge zj-ls-remote-remove-non-exists into master

git ls-remote will return with a zero exit code when it could reach the remote repository. Than the output depends on whatever the remote repository dereferenced the reference too. In the case that the reference isn't known on the server this would mean that there's no output.

#ls_remote is now updated to handle this case.

Edited by Zeger-Jan van de Weg

Merge request reports