summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2019-02-22 22:25:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-22 23:28:21 (GMT)
commit6206286e49b88bd4bb709c62e7b7455685c1993a (patch)
treee127ef78c19956cd4ac159219b9a7b4c8310b46e /transport.c
parentabd81a3d79d6c054f149ba0cd4d337b0a2d68027 (diff)
downloadgit-6206286e49b88bd4bb709c62e7b7455685c1993a.zip
git-6206286e49b88bd4bb709c62e7b7455685c1993a.tar.gz
git-6206286e49b88bd4bb709c62e7b7455685c1993a.tar.bz2
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 'transport.c')
-rw-r--r--transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.c b/transport.c
index e078812..d0608df 100644
--- a/transport.c
+++ b/transport.c
@@ -1062,6 +1062,7 @@ static int run_pre_push_hook(struct transport *transport,
proc.argv = argv;
proc.in = -1;
+ proc.trace2_hook_name = "pre-push";
if (start_command(&proc)) {
finish_command(&proc);