Han-Wen Nienhuys
21a366e049
Change signature of TreeBuilder.insert to take (name, oid, attribute).
...
This is analogous to git_treebuilder_insert(); update tests.
2012-03-30 00:11:30 -03:00
Carlos Martín Nieto
242f3c2ffa
TreeBuilder: allow the source to be a Tree
...
If the user passes a tree, use it as the source for the
TreeBuilder. On the way, make sure we free the tree we looked up, and
fix a test to make sure the TreeBuilder starts empty.
2012-03-09 12:57:22 +01:00
Carlos Martín Nieto
eb522b0caa
Make TreeBuilder grow out of the repository
...
A TreeBuilder is a lot more useful (and easy to use) when it belongs
to a repository.
2012-03-09 11:41:17 +01:00
J. David Ibáñez
e9e902e024
tests: add utility function 'oid_to_hex'
2012-02-27 00:12:33 +01:00
Carlos Martín Nieto
cf380cea2a
Add tests for TreeBuilder
2012-02-21 12:36:51 +01:00