summaryrefslogtreecommitdiff
path: root/repository.c
diff options
context:
space:
mode:
Diffstat (limited to 'repository.c')
-rw-r--r--repository.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/repository.c b/repository.c
index 65e6f8b8fd..5cad2dcc86 100644
--- a/repository.c
+++ b/repository.c
@@ -126,6 +126,8 @@ out:
void repo_set_worktree(struct repository *repo, const char *path)
{
repo->worktree = real_pathdup(path, 1);
+
+ trace2_def_repo(repo);
}
static int read_and_verify_repository_format(struct repository_format *format,