Re: "git diff" does not show a diff for newly added, binary files
- From
Kristoffer Haugsbakk <code@khaugsbakk.name>
- Date
- Apr 4, 2023, 10:45 UTC
- Message-ID
- <4e5ac983-a45d-4459-b398-4d092ca2f1c8@app.fastmail.com>
- In-Reply-To
- <2349908.kWcu0K8Tai@earendil>
On Tue, Apr 4, 2023, at 12:39, Thorsten Otto wrote:
> I would expect "git diff" to output the same information. I don't see a reason > why it outputs the diff for a new text file, but not for a binary file?
Has it done that before? As in, has git(1) behaved like the way you expect it to behave on this point before? Because `git diff` has never diffed binary files for me unless I instructed it to do it via some `.gitattributes` configuration.
-- Kristoffer Haugsbakk