Re: Making binary diffs
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jul 1, 2007, 06:17 UTC
- Message-ID
- <20070701061710.GR32223@spearce.org>
- In-Reply-To
- <93c3eada0706302314m20616a17s762704606c881278@mail.gmail.com>
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.