diff options
| author | Elia Pinto <gitter.spiros@gmail.com> | 2014-06-06 07:55:44 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-06-09 14:47:06 -0700 |
| commit | 4eaeb3264e1f86b99ba7732d9f69039a5805c435 (patch) | |
| tree | 423b73f291199308196a3c3b943cb923240b0900 /builtin/commit-tree.c | |
| parent | Second batch for 2.1 (diff) | |
| download | git-4eaeb3264e1f86b99ba7732d9f69039a5805c435.tar.gz git-4eaeb3264e1f86b99ba7732d9f69039a5805c435.zip | |
check_bindir: 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 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
