Unclear submodules are possible with git, the problem is related to Xcode CI.
Using git to store large binary images is an anti-pattern, so it may never be the best behavior. For Xcode, ideally, you would not use git for this purpose and just a script in CI so that the build process retrieves a single image (for example, using the rake or gradle, wget, curl, scp, etc. functions). If this is really the purpose of the image, you probably have the ability to reference it like this jar file:
https://github.com/projecthydra/hydra-jetty/blob/master/solr/lib/solr-analysis-extras-4.9.0.jar
CI is not interested in having other possible conditions for a goal or a history of changes. He just wants to fulfill the addiction.
If you must use a submodule , you can set up your own slimmed internal repo object called [this_submodule] _current , which simply has the only state you want. Remove it and replace as necessary.
Note that Xcode apparently has a caught submodule header error , so it assumes there will be some time before they turn to another slightly more exotic submodule with options like --depth .
Joe atzberger
source share