[Cuis-dev] Tip: fix github misrecognition of Smalltalk sourcecode
Juan Vuletich
juan at cuis.st
Mon May 5 08:58:28 PDT 2025
On 5/2/2025 2:49 AM, Luciano Notarfrancesco via Cuis-dev wrote:
> Git can convert line endings automatically, but it doesn’t by default.
> At some point Juan added a .gitattributes to the Cuis repo to make
> sure line endings are not converted, and I just got it from there.
> I don’t remember if I ever knew why exactly Juan did this, but I’m
> guessing it can be significant with sources and changes files because
> they are indexed in the image, and if line endings change from 1 to 2
> characters the indices wouldn’t point the start of methods any more.
>
>
> On Fri, May 2, 2025 at 03:43 Hilaire Fernandes <hfern at free.fr
> <mailto:hfern at free.fr>> wrote:
>
> What do you mean? Can a file be altered otherwise?
>
> Le 01/05/2025 à 12:46, Luciano Notarfrancesco a écrit :
> > (in order to avoid line endding conversion)
>
Yes. When we started using GitHub for Cuis many years ago, it would
convert lf to crLf if on Windows. Cuis wants lf regardless of the
platform it is running on. So, I added the "-text" part.
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250505/a158dd66/attachment.htm>
More information about the Cuis-dev
mailing list