Git thinks they are binary files. This is a symptom that they probably have 
null bytes (not ASCII text) in them and are probably unicode. You will need a 
diff tool that will cope with such unicode (assuming they are proper text 
files).

set the config options appropriately so that your text files use the diff tool 
of your choice.

Philip
  ----- Original Message ----- 
  From: Peter Pitchford 
  To: git-users@googlegroups.com 
  Sent: Sunday, October 06, 2013 4:15 PM
  Subject: [git-users] git diff not showing details


  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 to git-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to