Git diff-index doesn't rebuild index, so files with modified dates or touched are marked as modified with a SHA1 of all 0. To fix this, we run update-index --refresh before diff index. Any touched files are updated in the index. https://stackoverflow.com/questions/36367190/git-diff-files-output-changes-after-git-statuspull/11/head
parent
a201322160
commit
0a7fed9437
1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue