Re: [PATCH v1 1/2] api-trace2.txt: print config key-value pair
"tenglong.tl" <dyroneteng@gmail.com> writes:
Show 24 quoted lines
> From: Teng Long <dyroneteng@gmail.com>
>
> It's supported to print "interesting" config key-value paire
> to tr2 log by setting "GIT_TRACE2_CONFIG_PARAMS" environment
> variable and the "trace2.configparam" config, let's add the
> related docs in Documentaion/technical/api-trace2.txt.
>
> Signed-off-by: Teng Long <dyroneteng@gmail.com>
> ---
> Documentation/technical/api-trace2.txt | 32 ++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/Documentation/technical/api-trace2.txt b/Documentation/technical/api-trace2.txt
> index 77a150b30e..ddc0bfb9c9 100644
> --- a/Documentation/technical/api-trace2.txt
> +++ b/Documentation/technical/api-trace2.txt
> @@ -717,6 +717,7 @@ The "exec_id" field is a command-unique id and is only useful if the
> {
> "event":"def_param",
> ...
> + "scope":"global",
> "param":"core.abbrev",
> "value":"7"
> }Isn't this a bit premature to do in [PATCH 1/2]?