libgit2/git2go — pull request #44 by carlosmn (2013-09-28 12:36:05+00:00)
Title: Return the same index and odb objects in successive calls

Instead of creating a new Go object each time Repository.Index()/Odb()
are called, keep track of the first one we created and keep returning
that.