git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Making binary diffs
@ 2007-07-01  6:14 Geoff Russell
  2007-07-01  6:17 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Russell @ 2007-07-01  6:14 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Making binary diffs
  2007-07-01  6:14 Making binary diffs Geoff Russell
@ 2007-07-01  6:17 ` Shawn O. Pearce
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2007-07-01  6:17 UTC (permalink / raw)
  To: Geoff Russell; +Cc: git

Geoff Russell <geoffrey.russell@gmail.com> wrote:
> "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.

--binary::
    In addition to --full-index, output "binary diff" that
    can be applied with "git apply".

Should work with all of the "diff things" like `git diff`,
`git log`, etc.  See the diff-options.txt in Documentation.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-01  6:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-01  6:14 Making binary diffs Geoff Russell
2007-07-01  6:17 ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).