libgit2/pygit2 — pull request #325 by carlosmn (2014-01-26 04:09:15+00:00)
Title: Add flexibility when dealing with index entries

Let `IndexEntry` instances live independent of their original index and bring some memory safety. Move to get an own copy of each instead of pointing to the copy inside the index, which we cannot trust to keep existing.

Allow creation of IndexEntry instances, which we need in order to make working with bare repositories more comfortable.