[RFC PATCH 0/3 UPDATED] diff --check enhancements
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Dec 12, 2007, 10:03 UTC
- Message-ID
- <1197453788-3097-1-git-send-email-win@wincent.com>
[1/3] Use "whitespace" consistently
Same.
[2/3] "diff --check" should affect exit status
Additional tests added, and one correction (git diff-tree was only setting the exit status if the --stdin option was passed).
[3/3] New version of pre-commit hook
A demonstration of the benefit of [2/3]; the pre-commit hook effectively becomes a one-liner.