aboutsummaryrefslogtreecommitdiffstats
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/setup.c b/setup.c
index d866395435..6f6e92b96b 100644
--- a/setup.c
+++ b/setup.c
@@ -1422,14 +1422,6 @@ int discover_git_directory(struct strbuf *commondir,
return -1;
}
- the_repository->repository_format_worktree_config =
- candidate.worktree_config;
-
- /* take ownership of candidate.partial_clone */
- the_repository->repository_format_partial_clone =
- candidate.partial_clone;
- candidate.partial_clone = NULL;
-
clear_repository_format(&candidate);
return 0;
}