fpc-other  

Re: [fpc-other] Fwd: [fpc-pascal] fpGUI Toolkit source repository migrated to Git

Marco van de Voort
Wed, 08 Apr 2009 04:18:56 -0700

In our previous episode, Graeme Geldenhuys said:
[ Charset UTF-8 unsupported, converting... ]
> On Wed, Apr 8, 2009 at 1:00 PM, Marco van de Voort <mar...@stack.nl> wrote:
> >> although I share Florian's concerns about "magic" detection of proper
> >> file type rather than combination of reasonably conservative and obviously
> >>...
> >
> > That also worried me a bit.
> 
> Well then you and Florian must have been worried for a very long time.
> How long has FPC been using SubVersion?  ;-)  SubVersion also does
> automatic conversions via the eol-style property.

Binary status and textformat automatic conversion based are not the problem.

The problem is that it is based on automatic detection. And you'll see in
FPC SVN faqs that setting the mime type is mandatory for this reason, though
this can be automated based on extensions.

> Like I mentioned before, you can disable the "magic" detection and
> leave text files exactly as-is by simply setting autcrlf=False in your
> .gitconfig file. Then simply make sure you use a half decent editor
> and not Notepad.

That's not the same. Then you still have the mess of crlf mistakes in your
history.
_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-other