From 2dc5fabf38ed9c0d88a8e2c7812d490cf0bbc5ef Mon Sep 17 00:00:00 2001 From: Jeff Hostetler Date: Fri, 21 Dec 2018 11:42:36 -0500 Subject: [PATCH] Revert "trace2: add child classification for transport processes" This reverts commit d83778f2ee71c5e57c4ba7a6a6c4131fefc1300f. --- connect.c | 3 --- transport-helper.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/connect.c b/connect.c index 75202e81a23157..d72772a36d01ff 100644 --- a/connect.c +++ b/connect.c @@ -1255,7 +1255,6 @@ struct child_process *git_connect(int fd[2], const char *url, conn = NULL; } else if (protocol == PROTO_GIT) { conn = git_connect_git(fd, hostandport, path, prog, version, flags); - conn->trace2_child_class = "transport/git"; } else { struct strbuf cmd = STRBUF_INIT; const char *const *var; @@ -1298,11 +1297,9 @@ struct child_process *git_connect(int fd[2], const char *url, strbuf_release(&cmd); return NULL; } - conn->trace2_child_class = "transport/ssh"; fill_ssh_args(conn, ssh_host, port, version, flags); } else { transport_check_allowed("file"); - conn->trace2_child_class = "transport/file"; if (version > 0) { argv_array_pushf(&conn->env_array, GIT_PROTOCOL_ENVIRONMENT "=version=%d", version); diff --git a/transport-helper.c b/transport-helper.c index fa78a8788568ab..35199e50a03e95 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -129,8 +129,6 @@ static struct child_process *get_helper(struct transport *transport) argv_array_pushf(&helper->env_array, "%s=%s", GIT_DIR_ENVIRONMENT, get_git_dir()); - helper->trace2_child_class = helper->args.argv[0]; /* "remote-" */ - code = start_command(helper); if (code < 0 && errno == ENOENT) die(_("unable to find remote helper for '%s'"), data->name);