summaryrefslogtreecommitdiff
path: root/src/revwalk.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-05-21 02:35:40 +0200
committerAndreas Ericsson <ae@op5.se>2010-06-02 10:32:06 +0200
commit8add01539268300564482f854412cfe9839e980c (patch)
treec620f25d7fb92598b819001c8265d0d324275546 /src/revwalk.h
parent08d5d00056a7237bf6c60f85a6e72b7549cf9133 (diff)
downloadlibgit2-8add01539268300564482f854412cfe9839e980c.tar.gz
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>
Diffstat (limited to 'src/revwalk.h')
-rw-r--r--src/revwalk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/revwalk.h b/src/revwalk.h
index edf57b4b9..34ff3378e 100644
--- a/src/revwalk.h
+++ b/src/revwalk.h
@@ -8,6 +8,7 @@ struct git_revpool {
git_odb *db;
git_commit_list *iterator;
git_commit_list *commits;
+ git_commit_list *roots;
unsigned walking:1,
topological_sort:1;