libgit2/tests-clar/repo
nulltoken c1aefb35dd Fix git_repository_set_index() refcount issue
git_repository_free() calls git_index_free() if the owned index is not null.

According to the doc, when setting a new index through git_repository_set_index() the caller has still to take care of releasing the index by itself.

In order to cope with this, this fix makes sure the index refcount is incremented when a new repository is being plugged a new index.
2012-04-14 15:05:38 +02:00
..
getters.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
init.c repository: add minimal reinitialization of repository 2012-01-25 23:05:06 +01:00
open.c Fix MSVC compilation warnings 2012-04-14 13:46:13 +02:00
setters.c Fix git_repository_set_index() refcount issue 2012-04-14 15:05:38 +02:00