We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a84bdc8 commit 2138279Copy full SHA for 2138279
install.js
@@ -102,6 +102,7 @@ if(os.platform() === 'win32') {
102
}
103
104
var precommitContent = '#!/usr/bin/env bash' + os.EOL
105
+ + 'unset GIT_LITERAL_PATHSPECS # NOTE: workaround for magit https://magit.vc/manual/magit/My-Git-hooks-work-on-the-command_002dline-but-not-inside-Magit.html ' + os.EOL
106
+ hookRelativeUnixPath + os.EOL
107
+ 'RESULT=$?' + os.EOL
108
+ '[ $RESULT -ne 0 ] && exit 1' + os.EOL
0 commit comments