Best way to get submodules into extracted source?

Christopher Jones jonesc at
Fri May 22 19:24:21 UTC 2020


No, there is I believe no way. If the project has sub modules that need to be initialised, I think the only real way out is to use a direct git fetch. i.e. follow <>


> On 22 May 2020, at 8:16 pm, Zhenfu Shi via macports-dev <macports-dev at> wrote:
> Hey guys,
> I’m trying updating transmission(-x11) to just-released version 3.0, but it uses a lot of 3rd party submodules. I found the macports guide reads "the best distfile candidate (if available) is a distfile from GitHub releases”, so I’d like to know what’s the best way to put submodules into the extracted tarball, without using `fetch.type git` and `git submodule update —init`. Would be great if there’s a port already doing this so I could learn from it.
> Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <>

More information about the macports-dev mailing list