Skip to content

RFC diff --check enhancements

Wincent Colaiuta git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Use "whitespace" consistentlyDocumentation/diff-options.txt Documentation/glossary.txt diff.c+9 -90 replies
2/3"diff --check" should affect exit statusDocumentation/diff-options.txt builtin-diff-files.c builtin-diff-index.c +5 more+179 -290 replies
3/3New version of pre-commit hooktemplates/hooks--pre-commit+7 -600 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3 UPDATED] diff --check enhancements

[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.