Skip to content

busybox-xtracefd-v1

parent 4dc86699b57ff35c287ca396d562ec206776694a
author Johannes Schindelin <johannes.schindelin@gmx.de> 1498826396 +0200
committer Johannes Schindelin <johannes.schindelin@gmx.de> 1501843187 +0200

There is a very useful feature in Bash where you can redirect the trace
enabled by `set -x` to a file descriptor *different* than 2. This comes
in particularly handy when validating the error output of commands, say,
in Git's test suite, while tracing at the same time.

It is such a useful feature, and very easily implemented.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

Submitted-As: https://public-inbox.org/git/null
Assets 2