I am trying to show the diff between the last commit and the one before:
git diff HEAD^ HEAD <filename>
but that displays nothing. I know in fact that there is difference between the two commits.
What am I doing wrong and how should I correct it?
P.S.: I feel that this has been discussed many times before but somehow can't find any useful reference.