Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2019-02-23 01:25:04 +0300
committerJunio C Hamano <gitster@pobox.com>2019-02-23 02:27:59 +0300
commiteee73d1dceb307a543de5b8645827033451ab3bc (patch)
treeba140be4270c619a966421d34e00ebc876826356 /editor.c
parent942b2740ffed773c566e7e4881423b111f98fe93 (diff)
trace2:data: add editor/pager child classification
Add trace2 process classification for editor and pager child processes. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'editor.c')
-rw-r--r--editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor.c b/editor.c
index c985eee1f9..71547674ab 100644
--- a/editor.c
+++ b/editor.c
@@ -78,6 +78,7 @@ static int launch_specified_editor(const char *editor, const char *path,
p.argv = args;
p.env = env;
p.use_shell = 1;
+ p.trace2_child_class = "editor";
if (start_command(&p) < 0)
return error("unable to start editor '%s'", editor);