]> git.ipfire.org Git - thirdparty/git.git/blobdiff - repository.c
contrib/subtree: ensure only one rev is provided
[thirdparty/git.git] / repository.c
index 65e6f8b8fdfcf89e5c86cbee9590aa555f7b0b47..5cad2dcc86a530ab088cda98a5c64bbe78102038 100644 (file)
@@ -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,