Merge branch 'jh/trace2'
A more structured way to obtain execution trace has been added. * jh/trace2: trace2: add for_each macros to clang-format trace2: t/helper/test-trace2, t0210.sh, t0211.sh, t0212.sh trace2:data: add subverb for rebase trace2:data: add subverb to reset command trace2:data: add subverb to checkout command trace2:data: pack-objects: add trace2 regions trace2:data: add trace2 instrumentation to index read/write trace2:data: add trace2 hook classification trace2:data: add trace2 transport child classification trace2:data: add trace2 sub-process classification trace2:data: add editor/pager child classification trace2:data: add trace2 regions to wt-status trace2: collect Windows-specific process information trace2: create new combined trace facility trace2: Documentation/technical/api-trace2.txt
This commit is contained in:
@ -1103,6 +1103,7 @@ static int run_rewrite_hook(const struct object_id *oldoid,
|
||||
proc.argv = argv;
|
||||
proc.in = -1;
|
||||
proc.stdout_to_stderr = 1;
|
||||
proc.trace2_hook_name = "post-rewrite";
|
||||
|
||||
code = start_command(&proc);
|
||||
if (code)
|
||||
@ -3786,6 +3787,7 @@ cleanup_head_ref:
|
||||
hook.in = open(rebase_path_rewritten_list(),
|
||||
O_RDONLY);
|
||||
hook.stdout_to_stderr = 1;
|
||||
hook.trace2_hook_name = "post-rewrite";
|
||||
argv_array_push(&hook.args, post_rewrite_hook);
|
||||
argv_array_push(&hook.args, "rebase");
|
||||
/* we don't care if this hook failed */
|
||||
|
||||
Reference in New Issue
Block a user