#50708: Base should support fetching git submodules (git submodule update) ----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by rjvbertin@…): I cannot remember exactly why I ended up with the complex approach, and whether it had to do with peculiarities of the remote git repo. I've already encountered several occasions where the latest submodule commit wasn't compatible with the latest Qt-Creator commit and I had to use an earlier commit. I do remember though that I couldn't determine with certainty what revision you get when doing a `submodule update --init`. The whole approach does appear to be geared towards getting the latest commit. Which makes sense, but not so much so for MacPorts. If we use git to fetch sources for a port, the assumption is that we grab a known version ("commit") which we have tested sufficiently to be reasonably sure it work at least as good as the latest official release. That should also apply to submodule checkouts, which is why in the end I went with an approach which more or less treats the submodule as an independent repo that just happens to be checkout out under another working copy. -- Ticket URL: <https://trac.macports.org/ticket/50708#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X