[PATCH 0/4] Refactoring for apply and diff
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Dec 12, 2007, 16:22 UTC
- Message-ID
- <1197476582-18956-1-git-send-email-win@wincent.com>
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