diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-05-21 02:35:40 +0200 |
---|---|---|
committer | Andreas Ericsson <ae@op5.se> | 2010-06-02 10:32:06 +0200 |
commit | 8add01539268300564482f854412cfe9839e980c (patch) | |
tree | c620f25d7fb92598b819001c8265d0d324275546 /src/revwalk.h | |
parent | 08d5d00056a7237bf6c60f85a6e72b7549cf9133 (diff) | |
download | libgit2-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.h | 1 |
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; |