Giter VIP home page Giter VIP logo

Comments (4)

Dunbaratu avatar Dunbaratu commented on August 21, 2024

I just noticed something a minute ago. Previously, @erendrake noticed that some files don't conform to the CRLF end-of-line style, and nobody could see any examples of where that comes from. I just found out where it comes from, I think.

When I changed kRISC.tpg and ran it through TinyPG, it was TinyPG itself that was creating C# files (like Scanner.cs) that are of mixed end-of-line styles. Hopefully this gets corrected upon commit by the git settings, but if you were wondering, that's where it's coming from, I think.

from kos.

erendrake avatar erendrake commented on August 21, 2024

I think i goofed and didnt explain myself well on the line endings.

the Auto CRLF setting in git actually just insures that all files are CRLF if you are in windows and when you check in they get changed to LF, I think. its a pretty strange system really but it has made the issue of working on crossplatform projects simpler.

I have thought about adding a .gitattribute file to enforce this setting but frankly i dont know the implications of doing so for people not on windows.

from kos.

Dunbaratu avatar Dunbaratu commented on August 21, 2024

Ah that would make sense since git began its life in the UNIX world. It's internals are probably all written to assume LF-only, so it has to convert in and out of that format for Windows users.

from kos.

erendrake avatar erendrake commented on August 21, 2024

I think we have a pretty good understanding of our basic style? If we need more work on something lets open a new issue

from kos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.