firasrg / autocare-rest-api

AutoCare is a well-organized REST API sample app
GNU Affero General Public License v3.0
1 stars 2 forks source link

Pre-commit Git hook doesn't stage changes made by Spotless auto-format operation #8

Closed firasrg closed 3 months ago

firasrg commented 3 months ago

This bug addresses an issue with the pre-commit Git hook, which is responsible for running Spotless to format code before commits. When Spotless formats code during the pre-commit phase, the formatted changes are not automatically included in the commit. As a result, developers must manually amend their commits to include these formatting changes.