Merge branch 'jk/send-pack' into HEAD
[gitweb.git] / send-pack.c
index 1a7397f3a65864524ef735d094d171bca6a0d067..25053d2c2f7daa9aa392693a892db7e80c8b6469 100644 (file)
@@ -446,7 +446,7 @@ int main(int argc, char **argv)
 
        if (remote_name) {
                remote = remote_get(remote_name);
-               if (!remote_has_uri(remote, dest)) {
+               if (!remote_has_url(remote, dest)) {
                        die("Destination %s is not a uri for %s",
                            dest, remote_name);
                }