-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
csources submodule #2681
Comments
I think this is why some people don't like submodules... |
indeed. This was not thought out. @Araq should have stuck to his instincts. The submodules will also likely break when we hard reset the C sources repo, which we do from time to time to reduce its size. |
I am at work now so can't work on a patch myself until later.
|
How about we kick the submodule again and make the script ask if the currently cloned shallow version is equivalent to the upstream version, otherwise delete and reclone? |
It's been kicked. |
The way that the path to the csources submodule is defined (relative to the main repository), means that it won't work unless the active remote is currently on GitHub. In particular, it breaks for local clones.
And the
git submodule update --init --depth 1
inbuild.sh
would fail if there's already an older shallow clone (not that we'd get there, because the incorrect[ -e csources/.git ]
test doesn't verify that there's actually the proper revision in there).If this is to be done using git submodules, it needs to be done properly.
The text was updated successfully, but these errors were encountered: