diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2014-03-25 10:33:18 -0700 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2014-03-25 10:33:18 -0700 |
| commit | 451aaf866af2d974380a2d141626f450212f40f2 (patch) | |
| tree | 780c2db94ab7f589c646fa3fb05375031bdc830c /src/revwalk.h | |
| parent | f210cb5b1442f82e2f930909d8430f7cc6661c5f (diff) | |
| parent | 34ffe22344d32d1574dc33d3c3d20556fdb152a7 (diff) | |
| download | libgit2-451aaf866af2d974380a2d141626f450212f40f2.tar.gz | |
Merge pull request #2181 from anuraggup/hide_cb
Callback function to hide commit and its parents in revision walker
Diffstat (limited to 'src/revwalk.h')
| -rw-r--r-- | src/revwalk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/revwalk.h b/src/revwalk.h index a0ce1ae86..a0654f3e5 100644 --- a/src/revwalk.h +++ b/src/revwalk.h @@ -39,6 +39,10 @@ struct git_revwalk { /* merge base calculation */ git_commit_list_node *one; git_vector twos; + + /* hide callback */ + git_revwalk_hide_cb hide_cb; + void *hide_cb_payload; }; git_commit_list_node *git_revwalk__commit_lookup(git_revwalk *walk, const git_oid *oid); |
