Commit 4a619797ec16aeadba53590dce832238cb9a8447

Carlos Martín Nieto 2011-08-31T08:10:13

tree: use git_treebuilder to write the index as a tree There is no point in reinventing the wheel when using the treebuilder is much more straightforward and makes the code more readable. There is no optimisation, and the performance is no worse than when writing the tree object ourselves.