Re: "git diff" does not show a diff for newly added, binary files
- From
Kristoffer Haugsbakk <code@khaugsbakk.name>
- Date
- Apr 4, 2023, 10:17 UTC
- Message-ID
- <8135fc7b-1953-4702-a9c4-b0f847e69887@app.fastmail.com>
- In-Reply-To
- <3473764.PTxrJRyG3s@earendil>
On Tue, Apr 4, 2023, at 11:58, Thorsten Otto wrote:
> "git diff" does not show a diff for newly added, binary files > […] > I expected a binary diff for the new file, just like it is done > when comparing two different, already committed revisions.
Do you use `.gitattributes` to get these binary diffs? What does it look like?
-- Kristoffer Haugsbakk