From: Jonathan del Strother Date: Tue, 28 Oct 2008 12:45:18 GMT Subject: Per-hunk whitespace cleaning in pre-commit? 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?