On Jan 11, 2008, at 7:10 PM, Linus Torvalds wrote:It just happens yesterday that I copied a file from Unix to Windows (lucky I am ;) for a quite simple reason. I fetched and merged and realized that another developer forgot to check in a new file. He had already left. So I just looked into his workspace and copied the file. This has nothing to do with centralized system or not. We're just working in a mixed OS environment with shared filesystems. I didn't even think about the line endings in this situation because everything just worked. Actually I like the idea that I do not need to think about the endings because git will care about them. Actually many other tools work well with CRLF. For example, vi just displays [dos] in its status bar; but besides this everything is just fine. I don't think so. In the setting I described above, the questions I receive are not about the other tools but about git. I already started to teach everyone the new "autocrlf=input" policy to avoid these questions. I don't care that much about potential file corruption (though I'd feel more comfortable if I knew git would have stronger guarantees). During the next checkout on Windows file corruption would happen anyway. Steffen - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Nick Piggin | Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] |
| Greg KH | Linux 2.6.26.3 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| David Symonds | Re: git and binary files |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Linus Torvalds | Re: [PATCH 0/6] Initial subproject support (RFC?) |
| Petr Baudis | Re: repo.or.cz wishes? |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Jeff Garzik | Re: Wasting our Freedom |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| ropers | Re: Real men don't attack straw men |
| David Howells | [PATCH 6/7] FS-Cache: CacheFiles: ia64: missing copy_page export [try #13] |
| Valdis.Kletnieks | Re: [RFD] Incremental fsck |
| Chris Mason | Re: [PATCH][RFC] fast file mapping for loop |
| Nikolai Joukov | Re: [ANNOUNCE] RAIF: Redundant Array of Independent Filesystems |
