Per-hunk whitespace cleaning in pre-commit?
- From
Jonathan del Strother <maillist@steelskies.com>
- Date
- Oct 28, 2008, 12:45 UTC
- Message-ID
- <57518fd10810280545mc74fccfp59a30bd0c2946e4f@mail.gmail.com>
I like the idea of whitespace fixing in pre-commit, but I'd prefer if it only cleaned whitespace on the hunks that have changed, rather than on the entire file. Has anyone come up with a pre-commit version that does this?