Skip to content

Commit 0a67f25

Browse files
committed
RF: no "need" for custom shebang on windows since just does not work
1 parent dcfe242 commit 0a67f25

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

git/test/test_index.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@
5454
import os.path as osp
5555
from git.cmd import Git
5656

57-
HOOKS_SHEBANG = \
58-
"!C:/Program\ Files/Git/usr/bin/sh.exe\n" if is_win \
59-
else "#!/usr/bin/env sh\n"
57+
HOOKS_SHEBANG = "#!/usr/bin/env sh\n"
6058

6159

6260
def _make_hook(git_dir, name, content, make_exec=True):

0 commit comments

Comments
 (0)