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.
Showing
Please
register
or
sign in
to comment