-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
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
Git pre-commit takes no params #5107
Comments
This one is copied over from the same file in cakephp, I think. That part I think is to manually test the script before being deployed as a git hook. Something like: $ bash admin/pre-commit file1.php file2.php |
It is from https://tech.zumba.com/2014/04/14/control-code-quality/ ?
Maybe. But it uses only
In any case, it's code that is difficult to understand. |
There is code in
pre-commit
:CodeIgniter4/admin/pre-commit
Lines 6 to 13 in 4b3a03a
But it seems it makes no sense.
To check, I added the following code:
And run
git commit
:And I found the docs:
The text was updated successfully, but these errors were encountered: