Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0a67f25

Browse files
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‎

Lines changed: 1 addition & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /