-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugIssues that describe an unexpected behaviour in an existing functionality.Issues that describe an unexpected behaviour in an existing functionality.minor"bug" issues that are neither "critical" nor "major"."bug" issues that are neither "critical" nor "major".
Description
There is a small problem with the pre commit hooks that happens pretty often to me.
When the commit failes because of a style error in the code and you fix the styles afterwars but forget to use "git add" for this files, the pre commit hook does NOT fail and the files with the code style errors are commited.
I suggest that before every code style check, all changed to files that are not added to commit, should be stashed first. After the code style stash should be poped again.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssues that describe an unexpected behaviour in an existing functionality.Issues that describe an unexpected behaviour in an existing functionality.minor"bug" issues that are neither "critical" nor "major"."bug" issues that are neither "critical" nor "major".