Do linear-time/space rename logic for exact renames
[gitweb.git] / send-pack.c
index c1807f07946ca204bc1e8307eed04150e62c551d..e9b9a39f411b6cfff1c0a4bc3f7e31274c8d2782 100644 (file)
@@ -428,7 +428,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);
                }