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

[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

Next: Wincent Colaiuta
Message 1 of 7 in “Refactoring for apply and diff”
  1. 0/4 Refactoring for apply and diffWincent Colaiuta, Dec 12, 2007
  2. 1/4 Fix "diff --check" whitespace detectionWincent Colaiuta, Dec 12, 2007
  3. 2/4 Extract and improve whitespace check from "git apply"Wincent Colaiuta, Dec 12, 2007
  4. 3/3 Make "diff --check" use shared whitespace functionsWincent Colaiuta, Dec 12, 2007
  5. 4/4 Add tests for "git diff --check" with core.whitespace optionsWincent Colaiuta, Dec 12, 2007
  6. Junio C HamanoDec 12, 2007
  7. Wincent ColaiutaDec 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.