diff options
author | Elia Pinto <gitter.spiros@gmail.com> | 2014-06-10 05:28:33 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-19 13:30:03 -0700 |
commit | 496eeeb19b9c4adf743bf9acdc25d814e9c58a4e (patch) | |
tree | e423a9370a7ee34b7aad57dc2486c8cef1cadb00 /Documentation/git-check-ref-format.txt | |
parent | t/test-lib-functions.sh: avoid "test <cond> -a/-o <cond>" (diff) | |
download | tgif-496eeeb19b9c4adf743bf9acdc25d814e9c58a4e.tar.xz |
git-submodule.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>
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