diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2019-02-23 01:25:06 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-23 02:28:21 +0300 |
commit | 6206286e49b88bd4bb709c62e7b7455685c1993a (patch) | |
tree | e127ef78c19956cd4ac159219b9a7b4c8310b46e /builtin/worktree.c | |
parent | abd81a3d79d6c054f149ba0cd4d337b0a2d68027 (diff) |
trace2:data: add trace2 hook classification
Classify certain child processes as hooks.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/worktree.c')
-rw-r--r-- | builtin/worktree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c index 3f9907fcc9..6cc094a453 100644 --- a/builtin/worktree.c +++ b/builtin/worktree.c @@ -402,6 +402,7 @@ done: 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), |