Merge branch 'nd/trace-with-env'
authorJunio C Hamano <gitster@pobox.com>
Tue, 13 Feb 2018 21:39:10 +0000 (13:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Feb 2018 21:39:10 +0000 (13:39 -0800)
commit3efeec3a75995eb7d3b250f58535023db6c261e7
tree345c9975d330e0bb6205131f7eb168140ba08311
parentead8dbe2e14ee9a2a18ccd0ad7bca806e1be0d54
parent090a09272ac3bead828519b66eb62d53b53ecf7d
Merge branch 'nd/trace-with-env'

The tracing machinery learned to report tweaking of environment
variables as well.

* nd/trace-with-env:
  run-command.c: print new cwd in trace_run_command()
  run-command.c: print env vars in trace_run_command()
  run-command.c: print program 'git' when tracing git_cmd mode
  run-command.c: introduce trace_run_command()
  trace.c: move strbuf_release() out of print_trace_line()
  trace: avoid unnecessary quoting
  sq_quote_argv: drop maxlen parameter