libgit2/libgit2 — pull request #2521 by jacquesg (2014-08-15 20:58:19+00:00)
Title: git_remote_ls() crashes before connect is called

The possibility exists that the user may call ```git_remote_ls``` before ```git_remote_connect```. Currently we're crashing as we're dereferencing ```remote->transport``` without first checking its validity.