Skip to content

Support sparse checkout repositories #771

@pakrym

Description

@pakrym

See https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout/

Currently the build inside a sparse checkout fails with:

D:\a\_work\1\.nuget\packages\microsoft.build.tasks.git\1.1.1\build\Microsoft.Build.Tasks.Git.targets(25,5): error : Error reading git repository information: Unsupported repository version 1. Only versions up to 0 are supported. [D:\a\_work\1\s\sdk\core\Azure.Core.Amqp\src\Azure.Core.Amqp.csproj]
D:\a\_work\1\.nuget\packages\microsoft.build.tasks.git\1.1.1\build\Microsoft.Build.Tasks.Git.targets(25,5): error : Unable to locate repository with working directory that contains directory 'D:\a\_work\1\s\sdk\core\Azure.Core.Amqp\src'. [D:\a\_work\1\s\sdk\core\Azure.Core.Amqp\src\Azure.Core.Amqp.csproj]
D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions