Since the git commit hook to format code runs on and commits all files that are changed, if you try to use git add -p to stage chunks of a file, the entire file gets committed.
This is really bad for workflows that make a bunch of changes and then chop them up into digestible commits.
Since the git commit hook to format code runs on and commits all files that are changed, if you try to use
git add -pto stage chunks of a file, the entire file gets committed.This is really bad for workflows that make a bunch of changes and then chop them up into digestible commits.