Merge pull request #3236 from libgit2/cmn/index-checksum Use the checksum to check whether an index has been modified