aboutsummaryrefslogtreecommitdiff
path: root/reflog-walk.h
diff options
context:
space:
mode:
authorElia Pinto <gitter.spiros@gmail.com>2014-06-06 07:55:44 -0700
committerJunio C Hamano <gitster@pobox.com>2014-06-09 14:47:06 -0700
commit4eaeb3264e1f86b99ba7732d9f69039a5805c435 (patch)
tree423b73f291199308196a3c3b943cb923240b0900 /reflog-walk.h
parent0953113bb5687f42bcdfc3d20dd3a125784ad383 (diff)
downloadgit-4eaeb3264e1f86b99ba7732d9f69039a5805c435.tar.gz
git-4eaeb3264e1f86b99ba7732d9f69039a5805c435.tar.xz
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 'reflog-walk.h')
0 files changed, 0 insertions, 0 deletions