android-components icon indicating copy to clipboard operation
android-components copied to clipboard

Recommended pre-push hook fails without added shebang

Open fice-t opened this issue 3 years ago • 0 comments

Without adding #!/bin/sh to the top of the file, making a symlink from .git/hooks/pre-push to ../config/pre-push-hook gives the following error:

$ git push
error: cannot spawn .git/hooks/pre-push: No such file or directory
error: waitpid for (NULL) failed: No child processes
error: failed to push some refs to 'https://github.com/fice-t/android-components'

┆Issue is synchronized with this Jira Task

fice-t avatar Sep 27 '22 20:09 fice-t