Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gc: refactor a "call me once" pattern
[gitweb.git]
/
builtin
/
worktree.c
diff --git
a/builtin/worktree.c
b/builtin/worktree.c
index 3f9907fcc994d248ba604509f6feb5bdc0499329..6cc094a453806308442d054a7d1c073ecf18b87b 100644
(file)
--- a/
builtin/worktree.c
+++ b/
builtin/worktree.c
@@
-402,6
+402,7
@@
static int add_worktree(const char *path, const char *refname,
cp.dir = path;
cp.env = env;
cp.argv = NULL;
+ cp.trace2_hook_name = "post-checkout";
argv_array_pushl(&cp.args, absolute_path(hook),
oid_to_hex(&null_oid),
oid_to_hex(&commit->object.oid),