Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sp/maint-smart-http-sans-100-continue'
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index 60d9a64280b0318b1248b229d2ff99b27eb0e5c6..2ee1fa984620de4fad79ce94d4f993f5e83a053d 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-413,7
+413,7
@@
int cmd_clone(int argc, const char **argv, const char *prefix)
if (path)
repo = xstrdup(make_nonrelative_path(repo_name));
else if (!strchr(repo_name, ':'))
-
repo = xstrdup(make_absolute_path(repo_name)
);
+
die("repository '%s' does not exist", repo_name
);
else
repo = repo_name;
is_local = path && !is_bundle;