Here's the git clone output message:
PS D:\> git clone https://github.com/carlossanlop/runtime
Cloning into 'runtime'...
remote: Enumerating objects: 35, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 1186363 (delta 13), reused 24 (delta 12), pack-reused 1186328
Receiving objects: 100% (1186363/1186363), 217.94 MiB | 9.88 MiB/s, done.
Resolving deltas: 100% (876858/876858), done.
fatal: cannot create directory at 'src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/This is a really, really, really, really, really, really, really, really, really, really, really, really, really, really long file name for punctuation': Filename too long
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
@swaroop-sridhar : your PR introduced this long folder: https://github.com/dotnet/core-setup/pull/5954
Can you please take a look?
Carlos, did you configure your machine according to https://github.com/dotnet/runtime/blob/master/docs/building/windows-requirements.md#enable-long-paths ?
As Stephen commented, long path support is a requirement for the runtime repo on Windows. Closing.
Maybe we can rename the file
This is a really, really, really, really, really, really, really, really, really, really, really, really, really, really long file name for punctuation
to
If git clone fails with this message on Windows please run ``git config --system core.longpaths true`` and then try again ......................
Most helpful comment
Maybe we can rename the file
This is a really, really, really, really, really, really, really, really, really, really, really, really, really, really long file name for punctuationto
If git clone fails with this message on Windows please run ``git config --system core.longpaths true`` and then try again ......................