diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2019-02-22 23:25:05 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-23 00:28:14 +0100 |
commit | abd81a3d79d6c054f149ba0cd4d337b0a2d68027 (patch) | |
tree | 77d0f26bd19b36963c8c94737a259007df9125c3 /transport-helper.c | |
parent | trace2:data: add trace2 sub-process classification (diff) | |
download | git-abd81a3d79d6c054f149ba0cd4d337b0a2d68027.tar.xz git-abd81a3d79d6c054f149ba0cd4d337b0a2d68027.zip |
trace2:data: add trace2 transport child classification
Add trace2 child classification for transport processes.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/transport-helper.c b/transport-helper.c index 1f52c95fd8..cec83bd663 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -127,6 +127,8 @@ 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-<name>" */ + code = start_command(helper); if (code < 0 && errno == ENOENT) die(_("unable to find remote helper for '%s'"), data->name); |