threads / discuss / 16068

Per-hunk whitespace cleaning in pre-commit?

Subject: Per-hunk whitespace cleaning in pre-commit?

## tl;dr

One message between Oct 28, 2008 and Oct 28, 2008.

replies: 0people: 1as markdown or json

Jonathan del Strother· Oct 28, 2008, 12:45 UTC · lore

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?

← back to recent threads