summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-05-23 04:41:31 +0200
committerAndreas Ericsson <ae@op5.se>2010-06-02 10:32:07 +0200
commita7c182c59414cece10c819989bce3f1247f4eacc (patch)
tree54bdf67864a5d9dc16fc548f2748462b3fb63697 /src/commit.c
parentd047b47aadf88501238f36f5c17dd0a50dc62087 (diff)
downloadlibgit2-a7c182c59414cece10c819989bce3f1247f4eacc.tar.gz
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>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions