nulltoken/libgit2sharp — comment on commit 4ecf17b1eee66cabf68fda3528d3fcb31d8ce07a
File:  line 0
By nulltoken:

@Flonix, henon, @tclem could you glance at this fix for libgit2/libgit2sharp#78 please? I'd like to make sure the stage/unstage implementation makes sense now.

As I haven't found a way to easily convert a tree_entry into an index_entry in libgit2, I've relied on a very evil hack where the tree_entry is written into a temporary file, then written back into the index. I'm opened to any less hacky/ugly solution :-)