Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
trace2: t/helper/test-trace2, t0210.sh, t0211.sh, t0212.sh
[gitweb.git]
/
repository.c
diff --git
a/repository.c
b/repository.c
index 65e6f8b8fdfcf89e5c86cbee9590aa555f7b0b47..5cad2dcc86a530ab088cda98a5c64bbe78102038 100644
(file)
--- a/
repository.c
+++ b/
repository.c
@@
-126,6
+126,8
@@
static int repo_init_gitdir(struct repository *repo, const char *gitdir)
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,