diff --git a/pygit2/remote.py b/pygit2/remote.py index 7ec5bd4b7..def44972c 100644 --- a/pygit2/remote.py +++ b/pygit2/remote.py @@ -246,7 +246,7 @@ def push(self, specs): try: with StrArray(specs) as refspecs: - err = C.git_remote_push(self._remote, refspecs, ffi.NULL) + err = C.git_remote_push(self._remote, refspecs, push_opts) check_error(err) finally: self._self_handle = None