diff options
| author | Vicent Marti <tanoku@gmail.com> | 2010-06-18 13:06:34 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-07-15 23:39:30 +0200 |
| commit | 225fe21522a98075bdc18dae90ce459f797ac366 (patch) | |
| tree | 16d9bd5394fcbe6cc3dd5cae5124bd8400343e10 /src/revwalk.c | |
| parent | 40721f6b1297f2a48aeb5c9a3ac095767b1153bf (diff) | |
| download | libgit2-225fe21522a98075bdc18dae90ce459f797ac366.tar.gz | |
Add support for tree objects in revision pools
Commits now store pointers to their tree objects.
Tree objects now work as separate git_revpool_object
entities.
Tree objects can be loaded and parsed inedependently
from commits.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/revwalk.c')
| -rw-r--r-- | src/revwalk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/revwalk.c b/src/revwalk.c index d23f6863f..422ef9df8 100644 --- a/src/revwalk.c +++ b/src/revwalk.c @@ -60,6 +60,9 @@ void gitrp_free(git_revpool *walk) git_commit__free((git_commit *)obj); break; + case GIT_OBJ_TREE: + git_tree__free((git_tree *)obj); + break; default: free(obj); |
