git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Next: Wincent Colaiuta
Message 1 of 4 in “diff --check enhancements”
  1. 0/3 diff --check enhancementsWincent Colaiuta, Dec 12, 2007
  2. 1/3 Use "whitespace" consistentlyWincent Colaiuta, Dec 12, 2007
  3. 2/3 "diff --check" should affect exit statusWincent Colaiuta, Dec 12, 2007
  4. 3/3 New version of pre-commit hookWincent Colaiuta, Dec 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.