Add .gitattributes file and remove CRLFs from repository#9172
Add .gitattributes file and remove CRLFs from repository#9172
.gitattributes file and remove CRLFs from repository#9172Conversation
There was a problem hiding this comment.
Pull request overview
Adds a root-level .gitattributes to control EOL normalization and (as a consequence) renormalizes a broad set of repository files to consistent line endings, updating various snapshots/assets/configs accordingly.
Changes:
- Add
.gitattributeswith EOL normalization rules (text=auto, LF for Unix shells, CRLF for Windows scripts). - Renormalize line endings across templates, benchmarks, website assets, and many test snapshot files.
- Update serialized/snapshot artifacts to reflect the normalized text representation.
Reviewed changes
Copilot reviewed 1 out of 62 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/images/companies/spectrum-medical.svg | Line ending normalization for SVG asset. |
| website/public/images/companies/spectrum-medical.svg | Line ending normalization for published SVG asset. |
| templates/server/appsettings.json | Line ending normalization for template config. |
| templates/server/appsettings.Development.json | Line ending normalization for template config. |
| templates/gateway/appsettings.json | Line ending normalization for template config. |
| templates/gateway/appsettings.Development.json | Line ending normalization for template config. |
| templates/azure-function/host.json | Line ending normalization for function host config. |
| src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbFindFluentTests.FindFluent_Serializer.snap | Snapshot text renormalization. |
| src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbFindFluentTests.FindFluent_CombineQuery.snap | Snapshot text renormalization. |
| src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable.snap | Snapshot text renormalization. |
| src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbCollectionTests.Collection_Serializer.snap | Snapshot text renormalization. |
| src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbAggregateFluentTests.AggregateFluent_Serializer.snap | Snapshot text renormalization. |
| src/HotChocolate/Fusion-vnext/benchmarks/k6/eShop.Gateway/appsettings.json | Line ending normalization for benchmark config. |
| src/HotChocolate/Fusion-vnext/benchmarks/k6/eShop.Gateway/appsettings.Development.json | Line ending normalization for benchmark config. |
| src/HotChocolate/Fusion-vnext/benchmarks/k6/eShop.Accounts/appsettings.json | Line ending normalization for benchmark config. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Product_NET9_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Product_NET8_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Brand_NET9_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Brand_NET8_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Brand_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Fallback_To_Runtime_Properties_When_No_Field_Is_Bindable_NET9_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Fallback_To_Runtime_Properties_When_No_Field_Is_Bindable_NET8_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Fallback_To_Runtime_Properties_When_No_Field_Is_Bindable_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Ensure_That_Self_Requirement_Is_Honored_NET9_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Ensure_That_Self_Requirement_Is_Honored_NET8_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Ensure_That_Self_Requirement_Is_Honored_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_List_Results_NET9_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_List_Results_NET8_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_List_Results_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_Array_Results_NET9_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_Array_Results_NET8_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_Array_Results_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/snapshots/DataLoaderTests.Filter_With_Multi_Expression_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/snapshots/DataLoaderTests.Filter_With_Filtering_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/snapshots/DataLoaderTests.Filter_With_Expression_Null_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/snapshots/DataLoaderTests.Filter_With_Expression_NET10_0.md | Snapshot markdown renormalization. |
| src/HotChocolate/CostAnalysis/test/CostAnalysis.Tests/snapshots/PagingTests.Require_Paging_Boundaries_Two_Boundaries_With_Variable.md | Snapshot markdown renormalization. |
| src/HotChocolate/CostAnalysis/test/CostAnalysis.Tests/snapshots/PagingTests.Require_Paging_Boundaries_Two_Boundaries_Mixed.md | Snapshot markdown renormalization. |
| src/HotChocolate/CostAnalysis/test/CostAnalysis.Tests/snapshots/PagingTests.Require_Paging_Boundaries_Single_Boundary_With_Variable.md | Snapshot markdown renormalization. |
| src/HotChocolate/CostAnalysis/test/CostAnalysis.Tests/snapshots/PagingTests.Filtering_Variable.md | Snapshot markdown renormalization. |
| src/HotChocolate/Core/test/Execution.Tests/Serialization/snapshots/MultiPartResponseStreamSerializerTests.Serialize_Response_Stream.snap | Multipart snapshot renormalization. |
| src/HotChocolate/AspNetCore/test/AspNetCore.Tests/snapshots/HttpPostMiddlewareTests.BatchRequest_GetHero_And_GetHuman_MultiPart.snap | Multipart snapshot renormalization. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.ServiceDefaults/eShop.Catalog.ServiceDefaults.csproj | Line ending normalization for csproj. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.ServiceDefaults/Extensions.cs | Line ending normalization for C# source. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/eShop.Catalog.AppHost.csproj | Line ending normalization for csproj. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/appsettings.json | Line ending normalization for benchmark config. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/appsettings.Development.json | Line ending normalization for benchmark config. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/Properties/launchSettings.json | Line ending normalization for launch settings. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/AppHost.cs | Line ending normalization for C# source. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.API/appsettings.json | Line ending normalization for benchmark API config. |
| src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.API/appsettings.Development.json | Line ending normalization for benchmark API config. |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/IntegrationTestBase.CallTool_GetWithAuthSuccess_ReturnsExpectedResult.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_NET9_0.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Product_List_NET9_0.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Product_List_NET10_0.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Brand_Name_NET9_0.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Brand_Name_NET10_0.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Brand_NET9_0.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Brand_NET10_0.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.Fetch_Last_2_Items_Between.md | Snapshot markdown renormalization. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.Fetch_First_2_Items_Between.md | Snapshot markdown renormalization. |
| .gitattributes | Introduces repo-wide EOL normalization rules. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.gitattributes file.gitattributes file and remove CRLFs from repository
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 63 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fusion Gateway Performance ResultsSimple Composite Query
Response Times & Query
query TestQuery {
topProducts(first: 5) {
inStock
name
price
shippingEstimate
upc
weight
reviews {
id
body
author {
id
username
name
}
}
}
}Deep Recursion Query
Response Times & Query
query TestQuery {
users {
id
username
name
reviews {
id
body
product {
inStock
name
price
shippingEstimate
upc
weight
reviews {
id
body
author {
id
username
name
reviews {
id
body
product {
inStock
name
price
shippingEstimate
upc
weight
}
}
}
}
}
}
}
topProducts(first: 5) {
inStock
name
price
shippingEstimate
upc
weight
reviews {
id
body
author {
id
username
name
reviews {
id
body
product {
inStock
name
price
shippingEstimate
upc
weight
}
}
}
}
}
}Variable Batching Throughput
Response Times & Query
query TestQuery($upc: ID!, $price: Long!, $weight: Long!) {
productByUpc(upc: $upc) {
inStock
shippingEstimate(weight: $weight, price: $price)
}
}Variables (5 sets batched per request) [
{ "upc": "1", "price": 899, "weight": 100 },
{ "upc": "2", "price": 1299, "weight": 1000 },
{ "upc": "3", "price": 15, "weight": 20 },
{ "upc": "4", "price": 499, "weight": 100 },
{ "upc": "5", "price": 1299, "weight": 1000 }
]Run 22256511142 • Commit 32ccbfa • Sat, 21 Feb 2026 12:24:48 GMT |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9172 +/- ##
============================
============================
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary of the changes (Less than 80 chars)
.gitattributesfile.