Skip to content

Trace env variables in run_command()

Nguyễn Thái Ngọc Duy git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 1 replyIn review
  2. v57 patches 4 repliesSuperseded
  3. v47 patches 6 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7sq_quote_argv: drop maxlen parameterbuiltin/am.c builtin/rev-parse.c quote.c +2 more+7 -90 replies
2/7trace: avoid unnecessary quotingquote.c quote.h trace.c+36 -20 replies
3/7trace.c: move strbuf_release() out of print_trace_line()trace.c+4 -10 replies
4/7run-command.c: introduce trace_run_command()run-command.c+17 -10 replies
5/7run-command.c: print program 'git' when tracing git_cmd moderun-command.c+2 -00 replies
6/7run-command.c: print env vars in trace_run_command()run-command.c t/helper/test-run-command.c t/t0061-run-command.sh+109 -00 replies
7/7run-command.c: print new cwd in trace_run_command()run-command.c+5 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchJunio C Hamano
1/7
2/7
3/7
4/7
5/7
6/7Helped-by
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/7] Trace env variables in run_command()

v6 squashes Junio's changes in 6/7 and moves trace_run_command() from trace.c to run-command.c.

Jeff King (2):
sq_quote_argv: drop maxlen parameter
trace: avoid unnecessary quoting

Nguyễn Thái Ngọc Duy (5):
trace.c: move strbuf_release() out of print_trace_line() run-command.c: introduce trace_run_command() run-command.c: print program 'git' when tracing git_cmd mode run-command.c: print env vars in trace_run_command() run-command.c: print new cwd in trace_run_command()

 builtin/am.c                |  2 +-
 builtin/rev-parse.c         |  4 +--
 quote.c                     | 30 ++++++++++++++--
 quote.h                     | 10 +++++-
 run-command.c               | 88 ++++++++++++++++++++++++++++++++++++++++++++-
 t/helper/test-run-command.c |  9 +++++
 t/t0061-run-command.sh      | 37 +++++++++++++++++++
 trace.c                     |  9 +++--
 8 files changed, 178 insertions(+), 11 deletions(-)
Signature · 1 line
2.15.1.600.g899a5f85c6