| 1003 | "Merge one diff into another."); |
| 1004 | |
| 1005 | PyObject * |
| 1006 | Diff_merge(Diff *self, PyObject *args) |
| 1007 | { |
| 1008 | Diff *py_diff; |
| 1009 | int err; |
| 1010 | |
| 1011 | if (!PyArg_ParseTuple(args, "O!", &DiffType, &py_diff)) |
| 1012 | return NULL; |
| 1013 | |
| 1014 | err = git_diff_merge(self->diff, py_diff->diff); |
| 1015 | if (err < 0) |
| 1016 | return Error_set(err); |
| 1017 | |
| 1018 | Py_RETURN_NONE; |
| 1019 | } |
| 1020 | |
| 1021 | |
| 1022 | PyDoc_STRVAR(Diff_find_similar__doc__, |
nothing calls this directly
no test coverage detected
searching dependent graphs…