| 233 | "instead of a branch."); |
| 234 | |
| 235 | PyObject * |
| 236 | Repository_head_is_detached__get__(Repository *self) |
| 237 | { |
| 238 | if (git_repository_head_detached(self->repo) > 0) |
| 239 | Py_RETURN_TRUE; |
| 240 | |
| 241 | Py_RETURN_FALSE; |
| 242 | } |
| 243 | |
| 244 | |
| 245 | PyDoc_STRVAR(Repository_head_is_unborn__doc__, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…