Add object cache to the revision pool.
commita7c182c59414cece10c819989bce3f1247f4eacc
authorVicent Marti <tanoku@gmail.com>
Sun, 23 May 2010 02:41:31 +0000 (23 04:41 +0200)
committerAndreas Ericsson <ae@op5.se>
Wed, 2 Jun 2010 08:32:07 +0000 (2 10:32 +0200)
tree54bdf67864a5d9dc16fc548f2748462b3fb63697
parentd047b47aadf88501238f36f5c17dd0a50dc62087
Add object cache to the revision pool.
Fixed issue when generating pending commits list during iteration.

The 'git_commit_lookup' function will now check the pool's cache
for commits which have been previously loaded/parsed; there can only
be a single 'git_commit' structure for each commit on the same pool.

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