Added t0501-walk (simple test for all revision pool walking modes)
[libgit2.git] / src / revwalk.h
blobda8182721657446127a006281e0f1bb4219be952
1 #ifndef INCLUDE_revwalk_h__
2 #define INCLUDE_revwalk_h__
4 #include "git/common.h"
5 #include "git/revwalk.h"
7 struct git_revpool {
8 git_odb *db;
10 git_commit_list iterator;
11 git_commit *(*next_commit)(git_commit_list *);
13 git_commit_list roots;
14 git_revpool_table *commits;
16 unsigned walking:1;
17 unsigned char sorting;
20 void gitrp__prepare_walk(git_revpool *pool);
21 void gitrp__enroot(git_revpool *pool, git_commit *commit);
23 #endif /* INCLUDE_revwalk_h__ */