author | Junio C Hamano <gitster@pobox.com> | |
Mon, 29 Aug 2011 04:19:21 +0000 (21:19 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 29 Aug 2011 04:19:21 +0000 (21:19 -0700) |
* jc/maint-clone-alternates:
clone: clone from a repository with relative alternates
clone: allow more than one --reference
Conflicts:
builtin/clone.c
clone: clone from a repository with relative alternates
clone: allow more than one --reference
Conflicts:
builtin/clone.c
1 | 2 | |||
---|---|---|---|---|
builtin/clone.c | patch | | diff1 | | diff2 | | blob | history |
sha1_file.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc builtin/clone.c
index 7663bc22c9a3cb35b803815762791fec44d4c477,16b4fba71f8fed16ac67ee09b186e0295fc6b6da..4d66a7f4e82e5e31a0250491bbe22f9ec9ac3bfe
--- 1/builtin/clone.c
--- 2/builtin/clone.c
+++ b/builtin/clone.c
static char *option_upload_pack = "git-upload-pack";
static int option_verbosity;
static int option_progress;
+static struct string_list option_config;
+ static struct string_list option_reference;
+
+ static int opt_parse_reference(const struct option *opt, const char *arg, int unset)
+ {
+ struct string_list *option_reference = opt->value;
+ if (!arg)
+ return -1;
+ string_list_append(option_reference, arg);
+ return 0;
+ }
static struct option builtin_clone_options[] = {
OPT__VERBOSITY(&option_verbosity),
diff --cc sha1_file.c
Simple merge