From: Johannes Schindelin Date: Thu, 26 Feb 2009 23:31:22 GMT Subject: [PATCH 1/2] clone: do not ignore --no-hardlinks Message-ID: In-Reply-To: Somehow --no-hardlinks got broken by making clone a builtin. This was discovered during my work on --depth being ignored for local clones. There will be a test case that tests for --no-hardlinks in conjunction with --depth, so this patch is not accompanied by a separate test. Signed-off-by: Johannes Schindelin --- builtin-clone.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/builtin-clone.c b/builtin-clone.c index c338910..5540372 100644 --- a/builtin-clone.c +++ b/builtin-clone.c @@ -511,7 +511,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix) refspec.src = src_ref_prefix; refspec.dst = branch_top.buf; - if (path && !is_bundle) + if (path && !is_bundle && use_local_hardlinks) refs = clone_local(path, git_dir); else { struct remote *remote = remote_get(argv[0]); -- 1.6.2.rc2.404.g8394e