Working on a project on a shared host, where I don't have control over which git version I'm running, I came across the following problem, the hasRemote() function will return false if the remote get-url command is unavailable. I patched it by rewriting it as such (tested on Git 1.7.1)
Working on a project on a shared host, where I don't have control over which git version I'm running, I came across the following problem, the
hasRemote()
function will return false if theremote get-url
command is unavailable. I patched it by rewriting it as such (tested on Git 1.7.1)