]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sequencer.c
trace2:data: add trace2 hook classification
[thirdparty/git.git] / sequencer.c
index 0db410d59023e4b2fdd21bc342872324e7c2e7b3..1625f48f833e139a38c34034e067d1799c2e1e11 100644 (file)
@@ -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 */