From: Robin Rosenberg (list subscriber) Date: Sun, 04 Jun 2006 21:25:58 GMT Subject: Re: Importing Mozilla CVS into git Message-ID: <200606042325.58884.robin.rosenberg.lists@dewire.com> In-Reply-To: söndag 04 juni 2006 22:00 skrev Linus Torvalds: > On Sun, 4 Jun 2006, Robin Rosenberg (list subscriber) wrote: > > Other version control systems simply treat text and binary files > > differently. No smart(ass) logic doing the wrong thing. > > Treating text and binary file differently _is_ the "smart(ass) logic doing > the wrong thing". > > Git really shouldn't do that. The patch was meant to show how you really > don't need to - the internal objects would never be "binary vs text", > there would be a way to just basically map one onto another. Your patch assumes all files are text and the transformation doesn't corrupt the file, which isn't true. CR-LF combinations cannot be translated to LF and vice verse in all files, simply becuase what looks like CR LF isn't two characters, but something else. Looking for a nul byte and possibly some other magic byte would make you right more often, but not always. [...] > If you can't be civil, at least be quiet, ok? > > Linus A bad joke, I'm sorry. It wasn't ment to be offensive. -- robin