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 /send-pack.c | |
parent | 0cfe6fd252ee0898d832823bdab66d3cc986f3df (diff) | |
download | git-496eeeb19b9c4adf743bf9acdc25d814e9c58a4e.tar.gz git-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 'send-pack.c')
0 files changed, 0 insertions, 0 deletions