I'm trying to use Git at work on Windows using msysgit (though Cygwin), but we are stuck with a central CVS repository. So what I have done is made my CVS working folder a Git repository as well. So far so good.
The problem comes in when I switch branches in Git. Somehow CVS thinks that files changed, but Git says there are no modifications.
To be more precise consider the following scenarios, please:
cvs co . git add . git commit -m "auto"
Checking changed files in CVS and Git both report no changes.
2: now do:
git co someBranch git co master (back to files identical to scenario 1)
Checking changes files in CVS reveals that files that had no modifications in scenario 1 are considered modified or even newly created (I think I saw some newly created ones).
I'm starting to think this is related to the timestamps on files not being preserved with Git properly or some quirk of CVS. It might also be Git not preserving newlines, although I have also tried this by setting a property on Git to keep the newlines and not replace them.
Any help, tests, suggestions are much appreciated.