-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: git-client-plugin
-
None
-
Environment:OS: Windows
Jenkins: 2.73.2
Git_client_plugin: 2.5.0
Git has a limit of 4096 characters for a filename, except on windows when git is compiled with msys. It uses an older version of the windows api and there's a limit of 260 characters for a filename.
As mentioned in the Git Bash wiki, the `core.longpaths` config option tells git to use the UNC file paths (i.e. prepend `\\?\`). This works as long as the base path isn't too long.
Please, add an option to run `git clone` with a `-c core.length true` parameter.