diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2011-08-31 08:10:13 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-09-10 02:05:38 +0200 |
commit | 4a619797ec16aeadba53590dce832238cb9a8447 (patch) | |
tree | 487b059e5f5f3fcbb31190cb927e4d1ea2322df5 /src/commit.c | |
parent | 3f3f6225f8237e974b135de30eaac731c929936e (diff) | |
download | libgit2-4a619797ec16aeadba53590dce832238cb9a8447.tar.gz |
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.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions