diff --git a/docs/log.rst b/docs/log.rst index c63bc41..440d54b 100644 --- a/docs/log.rst +++ b/docs/log.rst @@ -3,3 +3,10 @@ Commit log ********************************************************************** .. automethod:: pygit2.Repository.walk + + +.. automethod:: pygit2.Walker.hide +.. automethod:: pygit2.Walker.push +.. automethod:: pygit2.Walker.reset +.. automethod:: pygit2.Walker.sort +.. automethod:: pygit2.Walker.simplify_first_parent diff --git a/src/pygit2.c b/src/pygit2.c index e1766d2..e640ea8 100644 --- a/src/pygit2.c +++ b/src/pygit2.c @@ -300,6 +300,7 @@ moduleinit(PyObject* m) * Log */ INIT_TYPE(WalkerType, NULL, PyType_GenericNew) + ADD_TYPE(m, Walker); ADD_CONSTANT_INT(m, GIT_SORT_NONE) ADD_CONSTANT_INT(m, GIT_SORT_TOPOLOGICAL) ADD_CONSTANT_INT(m, GIT_SORT_TIME)