File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ plugin.decryptdata.argtypes = [
4444 ctypes .c_void_p , ctypes .POINTER (ctypes .c_size_t )]
4545plugin .encryptrefname .argtypes = [ctypes .c_void_p , ctypes .c_void_p ]
4646plugin .decryptrefname .argtypes = [ctypes .c_void_p , ctypes .c_void_p ]
47- plugin .set_option .argtypes = [ctypes .c_char_p , ctypes .c_size_t , ctypes .c_char_p ]
47+ plugin .set_option .argtypes = [ctypes .c_char_p , ctypes .c_size_t ,
48+ ctypes .c_char_p ]
4849
4950if not hasattr (pygit2 .enums , 'FileMode' ):
5051 class FileMode (enum .IntFlag ):
@@ -438,7 +439,9 @@ def remotehelperloop():
438439 elif command [0 ] == 'push' :
439440 pushcommand (line )
440441 elif command [0 ] == 'option' :
441- if plugin .set_option (command [1 ].encode ('utf-8' ), len (command [1 ].encode ('utf-8' )), command [2 ].encode ('utf-8' )):
442+ if plugin .set_option (command [1 ].encode ('utf-8' ),
443+ len (command [1 ].encode ('utf-8' )),
444+ command [2 ].encode ('utf-8' )):
442445 sys .stdout .write ('ok\n ' )
443446 else :
444447 sys .stdout .write ('unsupported\n ' )
You can’t perform that action at this time.
0 commit comments