diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-03-18 13:04:25 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-03-18 13:04:25 -0700 |
| commit | 7f1e92643d9a74857bddc12280b511b7e06c08a7 (patch) | |
| tree | 50dd9fe98d7c35c386accb34bd0dd6d0a9663616 /git.c | |
| parent | 184969ce1d7c560e0afeaec388939c11a0a990dc (diff) | |
| parent | 6111252cbf21abb175411da5c5a2cde65bb8f3e9 (diff) | |
| download | git-7f1e92643d9a74857bddc12280b511b7e06c08a7.tar.gz | |
Merge branch 'jh/trace2-missing-def-param-fix'
Some trace2 events that lacked def_param have learned to show it,
enriching the output.
Reviewed-by: Josh Steadmon <steadmon@google.com>
cf. <ZejkVOVQBZhLVfHW@google.com>
* jh/trace2-missing-def-param-fix:
trace2: emit 'def_param' set with 'cmd_name' event
trace2: avoid emitting 'def_param' set more than once
t0211: demonstrate missing 'def_param' events for certain commands
Diffstat (limited to 'git.c')
| -rw-r--r-- | git.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -379,8 +379,6 @@ static int handle_alias(int *argcp, const char ***argv) strvec_pushv(&child.args, (*argv) + 1); trace2_cmd_alias(alias_command, child.args.v); - trace2_cmd_list_config(); - trace2_cmd_list_env_vars(); trace2_cmd_name("_run_shell_alias_"); ret = run_command(&child); @@ -417,8 +415,6 @@ static int handle_alias(int *argcp, const char ***argv) COPY_ARRAY(new_argv + count, *argv + 1, *argcp); trace2_cmd_alias(alias_command, new_argv); - trace2_cmd_list_config(); - trace2_cmd_list_env_vars(); *argv = new_argv; *argcp += count - 1; @@ -468,8 +464,6 @@ static int run_builtin(struct cmd_struct *p, int argc, const char **argv) trace_argv_printf(argv, "trace: built-in: git"); trace2_cmd_name(p->cmd); - trace2_cmd_list_config(); - trace2_cmd_list_env_vars(); validate_cache_entries(the_repository->index); status = p->fn(argc, argv, prefix); |
