@@ -964,7 +964,7 @@ def fetch(
964
964
args = [refspec ]
965
965
966
966
proc = self .repo .git .fetch (
967
- self , * args , as_process = True , with_stdout = False , universal_newlines = True , v = verbose , ** kwargs
967
+ "--" , self , * args , as_process = True , with_stdout = False , universal_newlines = True , v = verbose , ** kwargs
968
968
)
969
969
res = self ._get_fetch_info_from_stderr (proc , progress , kill_after_timeout = kill_after_timeout )
970
970
if hasattr (self .repo .odb , "update_cache" ):
@@ -991,7 +991,7 @@ def pull(
991
991
self ._assert_refspec ()
992
992
kwargs = add_progress (kwargs , self .repo .git , progress )
993
993
proc = self .repo .git .pull (
994
- self , refspec , with_stdout = False , as_process = True , universal_newlines = True , v = True , ** kwargs
994
+ "--" , self , refspec , with_stdout = False , as_process = True , universal_newlines = True , v = True , ** kwargs
995
995
)
996
996
res = self ._get_fetch_info_from_stderr (proc , progress , kill_after_timeout = kill_after_timeout )
997
997
if hasattr (self .repo .odb , "update_cache" ):
@@ -1034,6 +1034,7 @@ def push(
1034
1034
be 0."""
1035
1035
kwargs = add_progress (kwargs , self .repo .git , progress )
1036
1036
proc = self .repo .git .push (
1037
+ "--" ,
1037
1038
self ,
1038
1039
refspec ,
1039
1040
porcelain = True ,
0 commit comments