I think this is just a misunderstanding about how Git is working, which can be hard to appreciate at first.
Because Git has the Staging Area/Index (equivalent to an old style Out box for things that are Done but not yet filed) the act of adding the file makes it appear to go away. In addition if the file simply has a change of modification dates then Git ignores that. As a version control system, the only date that matters is the date that it is 'committed' (i.e. approved) for storing in the respository. All other dates are transitory. This can also be unexpected, but is the norm for version systems (as opposed to say a Zip file). Hope that helps in the understanding... -- Philio ----- Original Message ----- From: IL Ka To: Git for human beings Sent: Monday, November 20, 2017 2:06 PM Subject: [git-users] Git on Windows marks file as "modified" even it has no changes Hi all. I copied file from different folder over file in my repository. Contents are the same, only modification date differs. But file is marked as "changed". But when I "stage" it -- it simply disappears from list. Modified: >git status | findstr flake8 modified: flake8_v3_plugin.py No diff: >git diff flake8_v3_plugin.py warning: LF will be replaced by CRLF in python/helpers/pycharm/teamcity/flake8_v3_plugin.py. The file will have its original line endings in your working directory. And after staging >git stage flake8_v3_plugin.py warning: LF will be replaced by CRLF in python/helpers/pycharm/teamcity/flake8_v3_plugin.py. The file will have its original line endings in your working directory. It disappeared >git status | findstr flake8 Some kind of known issue, or should I report bug? Ilya. -- 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/d/optout. -- 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/d/optout.