diff options
| author | ZheNing Hu <adlternative@gmail.com> | 2021-01-23 10:20:08 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-01-23 11:48:11 -0800 |
| commit | f1c462ea4119f58a230abd62096a174483930a18 (patch) | |
| tree | 74af5f75e258ed99d8015c27eda4889d15d128ed /commit.c | |
| parent | The third batch (diff) | |
| download | git-f1c462ea4119f58a230abd62096a174483930a18.tar.gz git-f1c462ea4119f58a230abd62096a174483930a18.zip | |
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 'commit.c')
0 files changed, 0 insertions, 0 deletions
