From 25d02259df7b73ec220b2a0095ad4a2d7d525f96 Mon Sep 17 00:00:00 2001 From: David Six Date: Wed, 26 Aug 2015 11:15:47 -0400 Subject: [PATCH] Fix: pass push_opts to git_remote_push --- pygit2/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygit2/remote.py b/pygit2/remote.py index 7ec5bd4..def4497 100644 --- a/pygit2/remote.py +++ b/pygit2/remote.py @@ -246,7 +246,7 @@ class Remote(object): 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