Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47609

Add an option for a long path

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-client-plugin
    • None
    • 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.

            Unassigned Unassigned
            alkush21 Oleksandr Kushchak
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: