On 19. juli 2010, at 07.59, Jonathan Nieder wrote: > Shilpa Kulkarni wrote: > >> 2. Person Y checks in code (commit & push). Checks in file a, b. >> >> 3. Person X does a 'git pull origin master'. >> >> Pull succeeds - however >> 'git status' shows file a, b as modified even though person X has done >> nothing with these files. Sorry for the late reply. The problem is that the files are checked in to the repository with CRLFs intact, but then checked out in a repository that has autocrlf enabled. The result is that git wants to convert the files to LF, and shows them as modified even though no actual changes have been made. This no longer happens with git 1.7.2: autocrlf will not convert files that contain CRLFs in the repository. To enable forced conversion of text files containing CRLF with 1.7.2 or later, add this line to .gitattributes: * text=auto Files that need conversion (a and b in your example) should be checked in in the same commit as the change to .gitattributes. gitattributes(5) has a recipe for making sure all files are converted. Eyvind -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html