We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This test for a bare repo is unreliable as it requires 'hooks' to strictly be of type 'file'.
In many environments, for example GitLab this test will fail because hooks is a symlink, not a 'file', its a symlink:
# file hooks hooks: symbolic link to `/opt/gitlab/embedded/service/gitlab-shell/hooks'
I suggest changing the -f to -e so it works if 'hooks' exists as a file or symlink.
-f
-e
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This test for a bare repo is unreliable as it requires 'hooks' to strictly be of type 'file'.
In many environments, for example GitLab this test will fail because hooks is a symlink, not a 'file', its a symlink:
I suggest changing the
-f
to-e
so it works if 'hooks' exists as a file or symlink.The text was updated successfully, but these errors were encountered: