Bit OR ('|') is probably faster and it always works correctly (but '&' doesn't!), but it looks horrible here. Signed-off-by: Alexander Potashev <aspotashev@xxxxxxxxx> --- builtin-apply.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/builtin-apply.c b/builtin-apply.c index 07244b0..c71afa1 100644 --- a/builtin-apply.c +++ b/builtin-apply.c @@ -2487,7 +2487,7 @@ static int check_patch(struct patch *patch) ok_if_exists = 0; if (new_name && - ((0 < patch->is_new) | (0 < patch->is_rename) | patch->is_copy)) { + (0 < patch->is_new || 0 < patch->is_rename || patch->is_copy)) { if (check_index && cache_name_pos(new_name, strlen(new_name)) >= 0 && !ok_if_exists) -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html