| 51 | "Mark a commit (and its ancestors) uninteresting for the output."); |
| 52 | |
| 53 | PyObject * |
| 54 | Walker_hide(Walker *self, PyObject *py_hex) |
| 55 | { |
| 56 | int err; |
| 57 | git_oid oid; |
| 58 | |
| 59 | err = py_oid_to_git_oid_expand(self->repo->repo, py_hex, &oid); |
| 60 | if (err < 0) |
| 61 | return NULL; |
| 62 | |
| 63 | err = git_revwalk_hide(self->walk, &oid); |
| 64 | if (err < 0) |
| 65 | return Error_set(err); |
| 66 | |
| 67 | Py_RETURN_NONE; |
| 68 | } |
| 69 | |
| 70 | |
| 71 | PyDoc_STRVAR(Walker_push__doc__, |
nothing calls this directly
no test coverage detected
searching dependent graphs…