The pre-commit hook currently stages all changes in the working directory before committing. Sometimes I have changes in the working directory that are still in progress so I do not want to stage them yet. Or multiple changes that I want to commit separately. I think it would be better if the hook only staged changes made by the linter/formatter instead of all changes.
The pre-commit hook currently stages all changes in the working directory before committing. Sometimes I have changes in the working directory that are still in progress so I do not want to stage them yet. Or multiple changes that I want to commit separately. I think it would be better if the hook only staged changes made by the linter/formatter instead of all changes.