summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorLibravatar ZheNing Hu <adlternative@gmail.com>2021-01-23 10:20:08 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-23 11:48:11 -0800
commitf1c462ea4119f58a230abd62096a174483930a18 (patch)
tree74af5f75e258ed99d8015c27eda4889d15d128ed /.clang-format
parentThe third batch (diff)
downloadtgif-f1c462ea4119f58a230abd62096a174483930a18.tar.xz
ls_files.c: bugfix for --deleted and --modified
This situation may occur in the original code: lstat() failed but we use `&st` to feed ie_modified() later. Therefore, we can directly execute show_ce without the judgment of ie_modified() when lstat() has failed. Signed-off-by: ZheNing Hu <adlternative@gmail.com> [jc: fixed misindented code] Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions