summaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2019-02-22 22:25:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-22 23:27:59 (GMT)
commiteee73d1dceb307a543de5b8645827033451ab3bc (patch)
treeba140be4270c619a966421d34e00ebc876826356 /editor.c
parent942b2740ffed773c566e7e4881423b111f98fe93 (diff)
downloadgit-eee73d1dceb307a543de5b8645827033451ab3bc.zip
git-eee73d1dceb307a543de5b8645827033451ab3bc.tar.gz
git-eee73d1dceb307a543de5b8645827033451ab3bc.tar.bz2
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 c985eee..7154767 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);