|
|
@ -413,7 +413,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix) |
|
|
|
if (path) |
|
|
|
if (path) |
|
|
|
repo = xstrdup(make_nonrelative_path(repo_name)); |
|
|
|
repo = xstrdup(make_nonrelative_path(repo_name)); |
|
|
|
else if (!strchr(repo_name, ':')) |
|
|
|
else if (!strchr(repo_name, ':')) |
|
|
|
repo = xstrdup(make_absolute_path(repo_name)); |
|
|
|
die("repository '%s' does not exist", repo_name); |
|
|
|
else |
|
|
|
else |
|
|
|
repo = repo_name; |
|
|
|
repo = repo_name; |
|
|
|
is_local = path && !is_bundle; |
|
|
|
is_local = path && !is_bundle; |
|
|
|