SyntaxFix
Write A Post
Hire A Developer
Questions
I had a similar problem: git diff would show differences, but git diff <filename> would not. It turned out that I set LESS to a string including -F (--quit-if-one-screen). Removing that flag solved the problem.
git diff
git diff <filename>
LESS
-F
--quit-if-one-screen