Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
CodingGuidelines: avoid "test <cond> -a/-o <cond>"
author
Junio C Hamano
<gitster@pobox.com>
Tue, 20 May 2014 18:12:02 +0000
(11:12 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 20 May 2014 18:19:43 +0000
(11:19 -0700)
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>
raw
|
patch
| inline |
side by side
(from:
897f964
)
No differences found