Split git_commit_lookup into separate functions.
commit8add01539268300564482f854412cfe9839e980c
authorVicent Marti <tanoku@gmail.com>
Fri, 21 May 2010 00:35:40 +0000 (21 02:35 +0200)
committerAndreas Ericsson <ae@op5.se>
Wed, 2 Jun 2010 08:32:06 +0000 (2 10:32 +0200)
treec620f25d7fb92598b819001c8265d0d324275546
parent08d5d00056a7237bf6c60f85a6e72b7549cf9133
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 <tanoku@gmail.com>
Signed-off-by: Andreas Ericsson <ae@op5.se>
src/commit.c
src/commit.h
src/git/commit.h
src/revwalk.c
src/revwalk.h