libgit2/libgit2 — pull request #1168 by barrbrain (2012-12-21 03:21:02+00:00)
Title: WIP: update tree cache in write_tree

I think the error handling still needs work to ensure the right entries are freed.