libgit2/libgit2 — pull request #2250 by jacquesg (2014-04-06 13:10:40+00:00)
Title: Don't lose our elements when calling git_vector_set()

Turns out that if you call ```git_vector_set``` with ```position != length```, that is you are not appending an element, it will actually lose your stuff!