diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2020-04-09 10:21:47 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-10 10:21:07 -0700 |
commit | 3efc128cd59fefb6aa159548d0cf7666ce5e34a9 (patch) | |
tree | d8322852c4b56639b4d3366026d07ee1656be8e8 /Documentation/fetch-options.txt | |
parent | mingw: do not treat `COM0` as a reserved file name (diff) | |
download | tgif-3efc128cd59fefb6aa159548d0cf7666ce5e34a9.tar.xz |
mingw: help debugging by optionally executing bash with strace
MSYS2's strace facility is very useful for debugging... With this patch,
the bash will be executed through strace if the environment variable
GIT_STRACE_COMMANDS is set, which comes in real handy when investigating
issues in the test suite.
Also support passing a path to a log file via GIT_STRACE_COMMANDS to
force Git to call strace.exe with the `-o <path>` argument, i.e. to log
into a file rather than print the log directly.
That comes in handy when the output would otherwise misinterpreted by a
calling process as part of Git's output.
Note: the values "1", "yes" or "true" are *not* specifying paths, but
tell Git to let strace.exe log directly to the console.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/fetch-options.txt')
0 files changed, 0 insertions, 0 deletions