It turns out git diff doesn't understand utf-16 encoded files. The clue is
that the output says "Binary files"
I switched the encoding to utf-8 and git diff now shows the details.
" UTF-16 is a historical accident that persists mainly due to inertia.
UTF-16 has no practical advantages over UTF-8, and it is worse in some
I never knew that.
On Sunday, October 6, 2013 11:15:44 AM UTC-4, Peter Pitchford wrote:
> Windows 7
> Git Bash or Command line, both act the same.
> When I change a file and then run *git diff* I get:
> C:\workshop\git>git diff
> diff --git a/thirdfile.txt b/thirdfile.txt
> index 7caac66..f6eb45c 100644
> Binary files a/thirdfile.txt and b/thirdfile.txt differ
> How do I get it to show the lines that have been changed?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.