Add commit parents to parsed commits and commit lists to the revpool.
commit08d5d00056a7237bf6c60f85a6e72b7549cf9133
authorVicent Marti <tanoku@gmail.com>
Tue, 18 May 2010 18:55:19 +0000 (18 20:55 +0200)
committerAndreas Ericsson <ae@op5.se>
Wed, 2 Jun 2010 08:32:06 +0000 (2 10:32 +0200)
treeb47ba8387c1d7209d4976af9c3928f6ce93ed545
parent42281e007e15713713b2ff4324d60360332e194e
Add commit parents to parsed commits and commit lists to the revpool.
Basic support for iterating the revpool.

The following functions of the revwalk API have been partially
implemented:

    void gitrp_reset(git_revpool *pool);
    void gitrp_push(git_revpool *pool, git_commit *commit);
    void gitrp_prepare_walk(git_revpool *pool);
    git_commit *gitrp_next(git_revpool *pool);

Parsed commits' parents are now also parsed and stored in a
"git_commit_list" structure (linked list).

Signed-off-by: Vicent Marti <tanoku@gmail.com>
Signed-off-by: Andreas Ericsson <ae@op5.se>
src/commit.c
src/commit.h
src/revwalk.c
src/revwalk.h