diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-07-10 11:50:16 -0700 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-07-15 23:39:22 +0200 |
commit | 40721f6b1297f2a48aeb5c9a3ac095767b1153bf (patch) | |
tree | 8be856d8f8c8aab89f093583f091979aa2a4b8e3 /src/commit.h | |
parent | b231ef3acdcf396dba5f83f89488be7519da551a (diff) | |
download | libgit2-40721f6b1297f2a48aeb5c9a3ac095767b1153bf.tar.gz |
Changed revpool's object table to support arbitrary objects
git_revpool_object now has a type identifier for each object
type in a revpool (commits, trees, blobs, etc).
Trees can now be stored in the revision pool.
git_revpool_tableit now supports filtering objects by their
type when iterating through the object table.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/commit.h')
-rw-r--r-- | src/commit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit.h b/src/commit.h index 760529d87..50acd0c53 100644 --- a/src/commit.h +++ b/src/commit.h @@ -36,6 +36,7 @@ struct git_commit { flags:26; }; +void git_commit__free(git_commit *c); int git_commit__parse_oid(git_oid *oid, char **buffer_out, const char *buffer_end, const char *header); int git_commit__parse_buffer(git_commit *commit, void *data, size_t len); int git_commit__parse_time(time_t *commit_time, char *buffer, const char *buffer_end); |