Skip to content

Consider capturing git the line break configuration in sourcelink json #613

@tmat

Description

@tmat

This change in .NET SDK added assembly-level attribute with git repo clone URL: dotnet/sdk#11559

This can be used to optimize download of all source file required to build the dll. If however, the git configuration (specifically core.eol and core.autocrlf settings) differ between the server that originally built the DLL and the local repo the re-build will produce different binaries.

It would thus be useful to record the git settings in Source Link record so that the clone can be configured the same as the build server that produced the binary.

Note: Check if git line conversion changes the BOM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions