On Wed, Jan 09, 2008 at 01:52:59PM +0000, Gregory Jefferis wrote:If you work on Windows and you have clrf=safe, you cannot put a text file that has only LFs, because naked LF is not allowed. If you want to have naked LF in some file, you have to say that explicitly in .gitattributes. If you work on cross platform project, and somebody else put a file with bare LFs, which is not text though heauristic wrongly detected it as text then you can remove this file from your working directory, correct .gitattributes and checkout this file again. The idea of crlf=safe is that information is never lost. It is always fully reversible, and if you put something into the repostory, you always get back exactly the same unless you changed your .gitattributes. Of course, it will, because the same heuristic will detect it as text, and convert it back. So as long as you stay on the same platform and with the same .gitattributes, you always get back exactly what you put. Dmitry - 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
| Linus Torvalds | Linux 2.6.27-rc8 |
| Jared Hulbert | [PATCH 00/10] AXFS: Advanced XIP filesystem |
| Eric Paris | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Junio C Hamano | Re: [PATCH 0/2] Making "git commit" to mean "git commit -a". |
| Toby White | Using Filemerge.app as a git-diff viewer |
| Ismail | Re: [ANNOUNCE] GIT 1.5.3-rc4 |
| Leon Dippenaar | New tcp stack attack |
| Richard Stallman | Real men don't attack straw men |
| Predrag Punosevac | Skype on the OpenBSD |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Hugh Dickins | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jon Smirl | e1000 tcp checksum incorrect, x86 64b |
| David Miller | [GIT]: Networking |
