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

Add "repack after cloning" option to the 'reference' support in git clone

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None

      I like using the --reference support in the additional clone options to provide a pre-cache for a remote git server, but would prefer that the cloned repositories not have the persistent 'alternates' referenced - even though the remotes are read only.

      Would like to see a checkbox in the 'Additional Clone Behaviors' config section for the reference to say "Repack after Clone" to run 'git repack -a'. This would obviously negate space savings, but still accomplishes the goal of avoiding network transfer when the primary repository is on a remote slow link.

          [JENKINS-26868] Add "repack after cloning" option to the 'reference' support in git clone

          Nathan Neulinger created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161044 ] New: JNJira + In-Review [ 180552 ]
          Nicolas De Loof made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]

            Unassigned Unassigned
            nneul Nathan Neulinger
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: