]> git.proxmox.com Git - libgit2.git/blobdiff - src/revwalk.h
New upstream version 1.1.0+dfsg.1
[libgit2.git] / src / revwalk.h
index 923a2bc801414b94d49ec061e8af1e4f3cf01fda..94b8a6fb1fd93e2cdbb3ccb4f067561da5cf2b71 100644 (file)
@@ -50,4 +50,24 @@ struct git_revwalk {
 
 git_commit_list_node *git_revwalk__commit_lookup(git_revwalk *walk, const git_oid *oid);
 
+typedef struct {
+       int uninteresting;
+       int from_glob;
+       int insert_by_date;
+} git_revwalk__push_options;
+
+#define GIT_REVWALK__PUSH_OPTIONS_INIT { 0 }
+
+int git_revwalk__push_commit(git_revwalk *walk,
+       const git_oid *oid,
+       const git_revwalk__push_options *opts);
+
+int git_revwalk__push_ref(git_revwalk *walk,
+       const char *refname,
+       const git_revwalk__push_options *opts);
+
+int git_revwalk__push_glob(git_revwalk *walk,
+       const char *glob,
+       const git_revwalk__push_options *given_opts);
+
 #endif