Skip to content

Commit ba037fd

Browse files
committed
rebase git and lint fix
1 parent 167ac02 commit ba037fd

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

git

Submodule git updated 1278 files

git-incrypt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ plugin.decryptdata.argtypes = [
4444
ctypes.c_void_p, ctypes.POINTER(ctypes.c_size_t)]
4545
plugin.encryptrefname.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
4646
plugin.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

4950
if 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')

0 commit comments

Comments
 (0)