Skip to content

Commit 25d0225

Browse files
committed
Fix: pass push_opts to git_remote_push
1 parent 27e3450 commit 25d0225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygit2/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def push(self, specs):
246246

247247
try:
248248
with StrArray(specs) as refspecs:
249-
err = C.git_remote_push(self._remote, refspecs, ffi.NULL)
249+
err = C.git_remote_push(self._remote, refspecs, push_opts)
250250
check_error(err)
251251
finally:
252252
self._self_handle = None

0 commit comments

Comments
 (0)