msysgit / git

msysGit-based Git for Windows 1.x is now superseded by Git for Windows 2.x
http://github.com/git-for-windows/git
Other
1.01k stars 316 forks source link

Filename too long when cloning a repo #376

Closed vitaut closed 9 years ago

vitaut commented 9 years ago

Here's an example that reproduces the error:

C:\1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234>git clone http://github.com/cppformat/cppformat
fatal: could not create work tree dir 'cppformat': Filename too long
dscho commented 9 years ago

This is a known issue that is mentioned in the Release Notes along with its resolution:

dscho commented 9 years ago

Oh, and please note that you posted the issue in the wrong place: Git for Windows 1.x (based on msysGit) is now obsolete, Git for Windows 2.x superseded it.

vitaut commented 9 years ago

Sorry for the wrong bug tracker. I've opened another issue (https://github.com/git-for-windows/git/issues/342) as I get the same error even with core.longPaths=true. Thanks!