diff options
author | Jeff King <peff@peff.net> | 2017-12-08 05:47:17 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-08 09:03:38 -0800 |
commit | f5ba2de6bc67082d01742ee6ce892fbcff7b97af (patch) | |
tree | f6987eb9280618d34e7d4c60c4834b89bd5d373f /git-remote-testgit.sh | |
parent | 9be795fbce210dfc19536cfcd4351134a99edf65 (diff) | |
download | git-f5ba2de6bc67082d01742ee6ce892fbcff7b97af.tar.gz git-f5ba2de6bc67082d01742ee6ce892fbcff7b97af.tar.xz |
test-lib: make "-x" work with "--verbose-log"
The "-x" tracing option implies "--verbose". This is a
problem when running under a TAP harness like "prove", where
we need to use "--verbose-log" instead. Instead, let's
handle this the same way we do for --valgrind, including the
recent fix from 88c6e9d31c (test-lib: --valgrind should not
override --verbose-log, 2017-09-05). Namely, let's enable
--verbose only when we know there isn't a more specific
verbosity option indicated.
Note that we also have to tweak `want_trace` to turn it on
(previously we just lumped $verbose_log in with $verbose,
but now we don't necessarily auto-set the latter).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-remote-testgit.sh')
0 files changed, 0 insertions, 0 deletions