Git does not show change even the file changed
Git does not show change even the file changed Is git broken or what are we doing wrong ? ;-) We found out, that a file was changed in a recent version of the git repository and I tried to figure out when that was using whatchanged . whatchanged How can this be: $ git checkout 27773b72432e86d308d25d666663f237e50aa3fd Tools/foo.php $ md5sum Tools/foo.php 85552061cae9832c11eb6607ac88e3d8 Tools/foo.php $ git checkout master Tools/foo.php $ md5sum Tools/foo.php f38f51232785a432af2d1bd8db4429ed Tools/foo.php BUT: $ git whatchanged 27773b72432e86d308d25d666663f237e50aa3fd..master | grep foo.php # empty result How can this be? You can configure git to ignore line endings for one thing. I don't think you can make md5sum ignore them :) – Mad Physicist Jun 29 at 15:37 It's not line endings. It's a real code c...
