diff options
author | Elia Pinto <gitter.spiros@gmail.com> | 2014-06-06 07:56:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-09 15:53:42 -0700 |
commit | 0cfe6fd252ee0898d832823bdab66d3cc986f3df (patch) | |
tree | 8f5e5e8da4f814fc7a3be751d87a006e138f0050 /Documentation/git-check-ref-format.txt | |
parent | t/t9814-git-p4-rename.sh: avoid "test <cond> -a/-o <cond>" (diff) | |
download | tgif-0cfe6fd252ee0898d832823bdab66d3cc986f3df.tar.xz |
t/test-lib-functions.sh: avoid "test <cond> -a/-o <cond>"
The construct is error-prone; "test" being built-in in most modern
shells, the reason to avoid "test <cond> && test <cond>" spawning
one extra process by using a single "test <cond> -a <cond>" no
longer exists.
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-check-ref-format.txt')
0 files changed, 0 insertions, 0 deletions