Skip to content

Commit 2dc5fab

Browse files
committed
Revert "trace2: add child classification for transport processes"
This reverts commit d83778f.
1 parent eebf43a commit 2dc5fab

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

connect.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,6 @@ struct child_process *git_connect(int fd[2], const char *url,
12551255
conn = NULL;
12561256
} else if (protocol == PROTO_GIT) {
12571257
conn = git_connect_git(fd, hostandport, path, prog, version, flags);
1258-
conn->trace2_child_class = "transport/git";
12591258
} else {
12601259
struct strbuf cmd = STRBUF_INIT;
12611260
const char *const *var;
@@ -1298,11 +1297,9 @@ struct child_process *git_connect(int fd[2], const char *url,
12981297
strbuf_release(&cmd);
12991298
return NULL;
13001299
}
1301-
conn->trace2_child_class = "transport/ssh";
13021300
fill_ssh_args(conn, ssh_host, port, version, flags);
13031301
} else {
13041302
transport_check_allowed("file");
1305-
conn->trace2_child_class = "transport/file";
13061303
if (version > 0) {
13071304
argv_array_pushf(&conn->env_array, GIT_PROTOCOL_ENVIRONMENT "=version=%d",
13081305
version);

transport-helper.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ static struct child_process *get_helper(struct transport *transport)
129129
argv_array_pushf(&helper->env_array, "%s=%s",
130130
GIT_DIR_ENVIRONMENT, get_git_dir());
131131

132-
helper->trace2_child_class = helper->args.argv[0]; /* "remote-<name>" */
133-
134132
code = start_command(helper);
135133
if (code < 0 && errno == ENOENT)
136134
die(_("unable to find remote helper for '%s'"), data->name);

0 commit comments

Comments
 (0)