Hi, On Mon, 22 Oct 2007, Steffen Prohaska wrote: > .gitattributes is first looked for in the working directory, and if not > there, .gitattributes is read from the index. Of course we could change that to do it the other way round. But this would contradict expectations when you edit .gitattributes and then checkout single files without having git-add'ed .gitattributes first. The biggest problem in your setup, however, is not if .gitattributes is read from the index or the working directory. The biggest problem is that files are not touched when their contents have not changed. IOW if you have .gitattributes in the to-be-checked-out branch which say that README is crlf, and in the current branch it is not, and README's _contents_ are identical in both branches, a "git checkout <that-other-branch>" will not rewrite README, and consequently not change the working copy to crlf. Ciao, Dscho - 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