]>
git.proxmox.com Git - libgit2.git/blob - src/revwalk.h
2 * Copyright (C) 2009-2012 the libgit2 contributors
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
7 #ifndef INCLUDE_revwalk_h__
8 #define INCLUDE_revwalk_h__
10 #include "git2/revwalk.h"
12 #include "commit_list.h"
26 git_commit_list
*iterator_topo
;
27 git_commit_list
*iterator_rand
;
28 git_commit_list
*iterator_reverse
;
29 git_pqueue iterator_time
;
31 int (*get_next
)(git_commit_list_node
**, git_revwalk
*);
32 int (*enqueue
)(git_revwalk
*, git_commit_list_node
*);
37 /* merge base calculation */
38 git_commit_list_node
*one
;
42 git_commit_list_node
*git_revwalk__commit_lookup(git_revwalk
*walk
, const git_oid
*oid
);