• 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.

          [JENKINS-47609] Add an option for a long path

          Oleksandr Kushchak created issue -
          Oleksandr Kushchak made changes -
          Description Original: 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 (which shouldn't be an issue for us).

          Please, add an option to run `git clone` with a `-c core.length true`.
          New: 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`.
          Oleksandr Kushchak made changes -
          Description Original: 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`.
          New: 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.
          Oleg Nenashev made changes -
          Component/s New: git-client-plugin [ 17423 ]
          Component/s Original: _unsorted [ 19622 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ] New: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Labels New: newbie-friendly
          Rishabh Budhouliya made changes -
          Assignee New: Rishabh Budhouliya [ rishabhbudhouliya ]
          Rishabh Budhouliya made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Labels Original: newbie-friendly
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

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

              Created:
              Updated: