Skip to content

Commit

Permalink
Fix code formatting in the previous commit
Browse files Browse the repository at this point in the history
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
  • Loading branch information
Chandra Pratap committed Dec 10, 2023
1 parent d906459 commit 71dc157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71dc157

Please sign in to comment.