Supporting git fetch --jobs flag in drone-git

Hello,

I have a repo with some large submodules, and it takes about 30 seconds to clone the repo + submodules with the drone-git plugin.

I’d like to use the –jobs flag to help speed up the clone, but it doesn’t look like this is able to be specified via the plugin settings. Is there another way I can set this? If not, would you accept a PR to drone-git to add support for this flag in the plugin settings?

Thanks!

here are some examples for customizing clone, including an example with submodules

1 Like