{"thread":{"id":"16068","subject":"Per-hunk whitespace cleaning in pre-commit?","startedAt":"2008-10-28T12:45:18Z","lastAt":"2008-10-28T12:45:18Z","messageCount":1,"participants":["Jonathan del Strother"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"94102","messageId":"57518fd10810280545mc74fccfp59a30bd0c2946e4f@mail.gmail.com","threadId":"16068","inReplyTo":null,"subject":"Per-hunk whitespace cleaning in pre-commit?","fromName":"Jonathan del Strother","fromEmail":"maillist@steelskies.com","sentAt":"2008-10-28T12:45:18Z","receivedAt":"2008-10-28T12:45:18Z","isPatch":false,"sender":{"key":"jon.delstrother@bestbefore.tv","avatar":"https://gravatar.com/avatar/754e21ab701c00e2d21fc261187254c34b2a1c0b959d9ee5be1a295990be3081?d=mp&s=160"},"body":"I like the idea of whitespace fixing in pre-commit, but I'd prefer if\nit only cleaned whitespace on the hunks that have changed, rather than\non the entire file.\nHas anyone come up with a pre-commit version that does this?\n"}]}