From 71dc157b25ce61536adf5a788cc1d8f831e76b39 Mon Sep 17 00:00:00 2001 From: Chandra Pratap Date: Sun, 10 Dec 2023 20:50:08 +0530 Subject: [PATCH] Fix code formatting in the previous commit Signed-off-by: Chandra Pratap --- apply.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apply.c b/apply.c index f23e32fa9102e8..56790f515e0186 100644 --- a/apply.c +++ b/apply.c @@ -3779,10 +3779,10 @@ static int check_preimage(struct apply_state *state, } if (!state->cached && !previous) { - if (!trust_executable_bit && patch->old_mode) - st_mode = patch->old_mode; - else st_mode = ce_mode_from_stat(*ce, st->st_mode); - } + if (!trust_executable_bit && patch->old_mode) + st_mode = patch->old_mode; + else st_mode = ce_mode_from_stat(*ce, st->st_mode); + } if (patch->is_new < 0) patch->is_new = 0;