flex icon indicating copy to clipboard operation
flex copied to clipboard

git commit during recipe update might fail due to hooks

Open rvock opened this issue 1 year ago • 0 comments

During a recipe update a commit will be generated in a temporary folder: https://github.com/symfony/flex/blob/78510b1be591433513c8087deec24e9fd90d110d/src/Update/RecipePatcher.php#L99

This commit might fail, if global commit hooks are installed. The command should be executed without hooks:

git commit --no-verify -m

rvock avatar Jul 22 '22 14:07 rvock