diff options
Diffstat (limited to 'repository.c')
-rw-r--r-- | repository.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/repository.c b/repository.c index c53e480e32..104960f8f5 100644 --- a/repository.c +++ b/repository.c @@ -182,6 +182,7 @@ int repo_init(struct repository *repo, goto error; repo_set_hash_algo(repo, format.hash_algo); + repo->repository_format_worktree_config = format.worktree_config; /* take ownership of format.partial_clone */ repo->repository_format_partial_clone = format.partial_clone; |