t0211: demonstrate missing 'def_param' events for certain commands
commit0c1c3c861eacc7e27e627c80cc081ec7c00c743d
authorJeff Hostetler <jeffhostetler@github.com>
Thu, 7 Mar 2024 15:22:27 +0000 (7 15:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Mar 2024 18:24:34 +0000 (7 10:24 -0800)
tree22b47a16348bdc077eadf05bd10169c6eafd725f
parentb387623c12f3f4a376e4d35a610fd3e55d7ea907
t0211: demonstrate missing 'def_param' events for certain commands

Some Git commands fail to emit 'def_param' events for interesting
config and environment variable settings.

Add unit tests to demonstrate this.

Most commands are considered "builtin" and are based upon git.c.
These typically do emit 'def_param' events.  Exceptions are some of
the "query" commands, the "run-dashed" mechanism, and alias handling.

Commands built from remote-curl.c (instead of git.c), such as
"git-remote-https", do not emit 'def_param' events.

Likewise, "git-http-fetch" is built http-fetch.c and does not emit
them.

Signed-off-by: Jeff Hostetler <jeffhostetler@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0211-trace2-perf.sh