summaryrefslogtreecommitdiff
path: root/src/git2/tree.h
Commit message (Collapse)AuthorAgeFilesLines
* Move the external includes folder from `src` to `include`Vicent Marti2011-03-031-222/+0
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Change the object creation/lookup APIVicent Marti2011-03-031-3/+3
| | | | | | | | | | | | | | | | | | The methods previously known as git_repository_lookup git_repository_newobject git_repository_lookup_ref are now part of their respective namespaces: git_object_lookup git_object_new git_reference_lookup This makes the API more consistent with the new references API. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Git trees are now always lazily sortedVicent Marti2011-02-071-30/+0
| | | | | | | | | | | Removed `git_tree_add_entry_unsorted`. Now the `git_tree_add_entry` method doesn't sort the entries array by default; entries are only sorted lazily when required. This is done automatically by the library (the `git_tree_sort_entries` call has been removed). This should improve performance. No point on sorting entries all the time, anyway. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Make git_tree_clear_entries visible to the userJohn Wiegley2011-02-011-0/+10
|
* Added git_tree_add_entry_unsorted and git_tree_sort_entriesJohn Wiegley2011-02-011-0/+30
|
* Return the created entry in git_tree_add_entry()Vicent Marti2011-01-291-2/+5
| | | | | | | | | | Yes, we are breaking the API. Alpha software, deal with it. We need a way of getting a pointer to each newly added entry to the index, because manually looking up the entry after creation is outrageously expensive. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Split object methods from repository.cVicent Marti2011-01-031-2/+9
| | | | | | All the relevant git_object methods have been moved to object.c Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Add license file to all public headersVicent Marti2010-12-061-1/+25
| | | | | | Yes, the public headers do need our license. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Change the library include fileVicent Marti2010-12-061-0/+178
Libgit2 is now officially include as #include "<git2.h>" or indidividual files may be included as #include <git2/index.h> Signed-off-by: Vicent Marti <tanoku@gmail.com>