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

Support the filter argument in the git plugin

XMLWordPrintable

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

      The git plugin already supports shallow cloning, but for projects with large repos that still need git history, there are much faster options.

      eg. it would be ideal if the git plugin supported the --filter option, such that the options described in the linked articles/videos could be used (eg. --filter=tree:0) which can dramatically reduce cloning speeds of large repos.

      https://www.youtube.com/watch?v=aolI_Rz0ZqY

      https://blog.gitbutler.com/fosdem-git-talk/

      https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/

       

            Unassigned Unassigned
            carbonbased Jeff
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: