Recent versions of cgit support shallow clone support in submodule. Like this
      git submodule update --init --depth 1

      But it doesn't support this new feature in current version of git-client-plugin.

          [JENKINS-21248] Add shallow update init for submodule

          Masaki Muranaka created issue -

          The candidate patch against this issue is pull-requested at https://github.com/jenkinsci/git-client-plugin/pull/63 . I'll update it.

          Masaki Muranaka added a comment - The candidate patch against this issue is pull-requested at https://github.com/jenkinsci/git-client-plugin/pull/63 . I'll update it.

          Aaron Simmons added a comment -

          It seems Muranaka's fix for this was rejected . Can we get this feature implemented?

          Aaron Simmons added a comment - It seems Muranaka's fix for this was rejected . Can we get this feature implemented?
          Mark Waite made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]

          Colin Bennett added a comment -

          +1 I would like to see this implemented. That pull request may not be perfect in terms of design purity but it is better than not having the feature.

          Colin Bennett added a comment - +1 I would like to see this implemented. That pull request may not be perfect in terms of design purity but it is better than not having the feature.

          Jifeng Zhang added a comment -

          +1 This would help us as well.

          Jifeng Zhang added a comment - +1 This would help us as well.

          +1 for adding this. We have very large sub-module repositories and would really benefit from this feature.

          Mattias Andersson added a comment - +1 for adding this. We have very large sub-module repositories and would really benefit from this feature.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153111 ] New: JNJira + In-Review [ 178425 ]

          +1 from me too. A clone takes 6min instead of 9sec because I can't do a shallow update. This would really help.

          alex karpinski added a comment - +1 from me too. A clone takes 6min instead of 9sec because I can't do a shallow update. This would really help.

          Gerd Zanker added a comment -

          +1 from me because clone times with submodules can be reduced a lot

          Gerd Zanker added a comment - +1 from me because clone times with submodules can be reduced a lot

            Unassigned Unassigned
            monaka Masaki Muranaka
            Votes:
            22 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: