4 more patches which apply on top of the "git diff --check" topic I posted previously. If you'd prefer any of these to be prepared for application on top of "master" or "next" let me know. [1/4] Fix "diff --check" whitespace detection Fix bug noticed while comparing the whitespace checks in "git apply" and "git diff". It's exactly this kind of bug which motivates the refactoring which follows... [2/4] Extract and improve whitespace check from "git apply" Extract (and improve) some stuff out of "apply"... [3/4] Make "diff --check" use shared whitespace functions ... so that the same code can be used by "diff". [4/4] Add tests for "git diff --check" with core.whitespace options Cheers, Wincent - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html