🪝 • Efficiently manage Git hooks in Laravel projects. Enhance code quality, save time on reviews, and prevent bugs from entering your repository.
23
stars
6
forks
source link
Problem with PrepareCommitMessage arguments #36
Open
mariomeyer opened 2 weeks ago
Right now the
src/Console/Commands/stubs/hook
file is creating all hooks in.git/hooks
calling:This is passing all the files to the command.
But command
git-hooks:prepare-commit-message
only receivesfile
which is the commit message file. Thus it's failing by default.It works though changing that hook to:
Which passes only the commit message file.