diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2018-10-29 12:13:59 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-30 02:06:54 (GMT) |
commit | a5f52c6dab2337c8feae2a733e81a64e0605b113 (patch) | |
tree | f972079e48ecafe577f2b8f102230b37e617ae50 /t/test-lib.sh | |
parent | cae598d9980661a978e2df4fb338518f7bf09572 (diff) | |
download | git-a5f52c6dab2337c8feae2a733e81a64e0605b113.zip git-a5f52c6dab2337c8feae2a733e81a64e0605b113.tar.gz git-a5f52c6dab2337c8feae2a733e81a64e0605b113.tar.bz2 |
test-lib: introduce the '-V' short option for '--verbose-log'
'--verbose-log' is one of the most useful and thus most frequently
used test options, but due to its length it's a pain to type on the
command line.
Let's introduce the corresponding short option '-V' to save some
keystrokes.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 44288cb..1373fd4 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -67,7 +67,7 @@ case "$GIT_TEST_TEE_STARTED, $* " in done,*) # do not redirect again ;; -*' --tee '*|*' --va'*|*' --verbose-log '*) +*' --tee '*|*' --va'*|*' -V '*|*' --verbose-log '*) mkdir -p "$TEST_OUTPUT_DIRECTORY/test-results" BASE="$TEST_OUTPUT_DIRECTORY/test-results/$(basename "$0" .sh)" @@ -285,7 +285,7 @@ do echo >&2 "warning: ignoring -x; '$0' is untraceable without BASH_XTRACEFD" fi shift ;; - --verbose-log) + -V|--verbose-log) verbose_log=t shift ;; *) |