git diff shows no output
- From
- Charles Brossollet <chbrosso@lltech.fr>
- Date
- Aug 20, 2010, 13:02 UTC
- Message-ID
- <EBCC0FEA-1FF2-4909-BE80-DE280C9D6487@lltech.fr>
Hello,
I'm a new user of git, and I meet a very strange behaviour with the git diff command. I have modified stuff in a file, with changes both in the index and the working tree.
"git diff" shows nothing, while "git diff | cat" shows the diff, as well as "git diff>output.txt" puts diff in output.txt. Quite Weird
I'm on Mac OS X 10.6.4, using git 1.7.2.1, installed via macports.
Best,
-- Charles