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

Making binary diffs

From
Geoff Russell <geoffrey.russell@gmail.com>
Date
Jul 1, 2007, 06:14 UTC
Message-ID
<93c3eada0706302314m20616a17s762704606c881278@mail.gmail.com>
Hi,

"git format-patch" generates binary diffs for binary files (e.g pdfs) in its patches, but "git diff -p" just tells me that a binary file is different and doesn't generate the actual diff.

Is there some switch I'm missing to tell "git diff" to generate a binary diff on binary files?

Cheers, Geoff Russell

Next: Shawn O. Pearce
Message 1 of 2 in “Making binary diffs”
  1. Geoff RussellJul 1, 2007
  2. Shawn O. PearceJul 1, 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.