diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-05-20 11:12:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-20 11:19:43 -0700 |
commit | 897f964c0dce8e7cc2cc53bb19b83cadce106773 (patch) | |
tree | 06125e26e6ee2c83b70e1739aa323efab225c599 /tree.c | |
parent | CodingGuidelines: on splitting a long line (diff) | |
download | tgif-897f964c0dce8e7cc2cc53bb19b83cadce106773.tar.xz |
CodingGuidelines: 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: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions