gitonomy/gitlib — pull request #39 by MattKetmo (2013-04-23 07:44:38+00:00)
Title: Check the validity of a git url without cloning it

I added a `Admin::checkRemoteUrl()` method to check the validity of a git remote url. Internally this use the `ls-remote` command which accept an url without needing a local git-dir. `ls-remote` returns 0 when valid and 128 when not.

I didn't write the tests already, I wanted to get your feedback before.