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

Git Client 1.5.0+ does not resolve reference repositories correctly (anymore)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-client-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Since git-client 1.5.0, reference repositories are not correctly resolved anymore.

      Commit a3d3d548 (replace "clone" by "init+fetch" so we can configure git to use a local gitcrendentials store) introduced two problems:

      • alternates is made to point to <referencePath>/.git/objects which obviously can not work for bare reference repositories (which should be the rule).
      • alternates uses File.getAbsolutePath() which uses backslashes on windows systems. However, both msysgit and cygwin-git expect slashes as path divider

        Attachments

          Activity

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              paux Stephan Pauxberger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: