mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-05 07:43:41 +08:00
042ef10fe5
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-status old-commit-hash: 0a7fed94371730d4e959e7975cbb0dc69484dcf4