| 40 | PyDoc_STRVAR(Commit_message_encoding__doc__, "Message encoding."); |
| 41 | |
| 42 | PyObject * |
| 43 | Commit_message_encoding__get__(Commit *self) |
| 44 | { |
| 45 | if (Object__load((Object*)self) == NULL) { return NULL; } // Lazy load |
| 46 | |
| 47 | const char *encoding = git_commit_message_encoding(self->commit); |
| 48 | if (encoding == NULL) |
| 49 | Py_RETURN_NONE; |
| 50 | |
| 51 | return to_encoding(encoding); |
| 52 | } |
| 53 | |
| 54 | |
| 55 | PyDoc_STRVAR(Commit_message__doc__, "The commit message, a text string."); |
nothing calls this directly
no test coverage detected
searching dependent graphs…