diff options
author | Elia Pinto <gitter.spiros@gmail.com> | 2014-06-06 07:55:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-09 14:47:06 -0700 |
commit | 0783df5d2603c97a481be839bdc65088787dde1b (patch) | |
tree | 29956712323d5d1a86003de812edbeac65f07c53 /t/t5526-fetch-submodules.sh | |
parent | cb9d69ad638fe34d214cf9cb2850e38be6e6d639 (diff) | |
download | git-0783df5d2603c97a481be839bdc65088787dde1b.tar.gz |
contrib/examples/git-commit.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 't/t5526-fetch-submodules.sh')
0 files changed, 0 insertions, 0 deletions