Merge cleanup
This commit is contained in:
@@ -209,7 +209,6 @@ Remote_set_fetch_refspecs(Remote *self, PyObject *args)
|
|||||||
|
|
||||||
if (get_strarraygit_from_pylist(&fetch_refspecs , pyrefspecs) != GIT_OK) {
|
if (get_strarraygit_from_pylist(&fetch_refspecs , pyrefspecs) != GIT_OK) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
err = git_remote_set_fetch_refspecs(self->remote, &fetch_refspecs);
|
err = git_remote_set_fetch_refspecs(self->remote, &fetch_refspecs);
|
||||||
|
|
||||||
@@ -238,9 +237,8 @@ Remote_set_push_refspecs(Remote *self, PyObject *args)
|
|||||||
if (! PyArg_Parse(args, "O", &pyrefspecs))
|
if (! PyArg_Parse(args, "O", &pyrefspecs))
|
||||||
return Error_set(GITERR_INVALID);
|
return Error_set(GITERR_INVALID);
|
||||||
|
|
||||||
if (get_strarraygit_from_pylist(&push_refspecs, pyrefspecs) != 0) {
|
if (get_strarraygit_from_pylist(&push_refspecs, pyrefspecs) != 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
err = git_remote_set_push_refspecs(self->remote, &push_refspecs);
|
err = git_remote_set_push_refspecs(self->remote, &push_refspecs);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user