-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Right now the src/Console/Commands/stubs/hook
file is creating all hooks in .git/hooks
calling:
php {artisanPath} {command} $@ >&2
This is passing all the files to the command.
But command git-hooks:prepare-commit-message
only receives file
which is the commit message file. Thus it's failing by default.
It works though changing that hook to:
php {artisanPath} {command} $1 >&2
Which passes only the commit message file.
Metadata
Metadata
Assignees
Labels
No labels