From 8add01539268300564482f854412cfe9839e980c Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Fri, 21 May 2010 02:35:40 +0200 Subject: Split git_commit_lookup into separate functions. git_commit_lookup() now creates commit references without loading them from the ODB. git_commit_parse() creates a commit reference, loads it and parses it from the ODB. Signed-off-by: Vicent Marti Signed-off-by: Andreas Ericsson --- src/commit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commit.h') diff --git a/src/commit.h b/src/commit.h index 7ab2d5413..3a6b70664 100644 --- a/src/commit.h +++ b/src/commit.h @@ -30,6 +30,8 @@ int git_commit__parse_oid(git_oid *oid, char **buffer_out, const char *buffer_en 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); +int git_commit_parse_existing(git_commit *commit); + void git_commit_list_insert(git_commit_list **list, git_commit *commit); #endif -- cgit v1.2.1