mozilla-mobile/android-components

Recommended pre-push hook fails without added shebang

fice-t opened this issue · 1 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