-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize line endings #642
Conversation
For what it's worth, I support this change. As I mentioned in the other PR, my experience from multiple projects for many years is that this works well. Additionally, this PR has been executed in a good way - by that I mean that it contains only the line ending changes (apart from the gitattributes file of course), meaning that it is easy to verify using diff that it doesn't try to sneak in any behaviour changes. |
…into normalise-line-endings # Conflicts: # src/FluentNHibernate.Testing/Cfg/ExceptionSerializationTests.cs # src/FluentNHibernate.Testing/ConventionsTests/AccessConventionTests.cs # src/FluentNHibernate.Testing/DomainModel/Mapping/MappingTester.cs # src/FluentNHibernate.Testing/FluentInterfaceTests/ClassMapFilterPartModelGenerationTests.cs # src/FluentNHibernate.Testing/FluentNHibernate.Testing.csproj # src/FluentNHibernate.Testing/Infrastructure/ContainerTester.cs # src/FluentNHibernate.Testing/PersistenceModelTests/SeparateSubclassVisitorFixture.cs # src/FluentNHibernate.Testing/Serialization/SerializationFixture.cs # src/FluentNHibernate.Testing/SpecificationExtensions.cs # src/FluentNHibernate.Testing/Testing/XmlWriterTestHelper.cs # src/FluentNHibernate.Testing/Xml/MappingXmlTestHelper.cs
Thanks |
I think this would conflict with .editorconfig file: fluent-nhibernate/.editorconfig Lines 6 to 7 in 6c8df85
|
@hazzik Thanks! I've removed that line from the editorconfig and also updated the contributing guidelines to remove references to disabling autocrlf |
Normalise line endings and enable
autocrlf
. This should result in all files ending in CRLF in windows and LF in Linux (and Git). This will resolve the warnings in VS about inconsistent line endings.I've opened this PR based on the conversation at #641. I'll keep both PRs open for now and when one approach is selected I'll close the other PR.