diff --git a/builtin-clone.c b/builtin-clone.c
index c935833c6ce176caf47a14b5ad1f2848f0d1ab22..2ceacb7b3f34c78e64ed047833d8af5a061f065f 100644 (file)
--- a/builtin-clone.c
+++ b/builtin-clone.c
if (is_bare) {
struct strbuf result = STRBUF_INIT;
strbuf_addf(&result, "%.*s.git", (int)(end - start), start);
- dir = strbuf_detach(&result, 0);
+ dir = strbuf_detach(&result, NULL);
} else
dir = xstrndup(start, end - start);
/*
junk_pid = getpid();
- argc = parse_options(argc, argv, builtin_clone_options,
+ argc = parse_options(argc, argv, prefix, builtin_clone_options,
builtin_clone_usage, 0);
if (argc == 0)