Merge pull request #3031 from git-up/git_index_add Entry argument passed to git_index_add_frombuffer() should be const