Skip to content

What's with these seemingly-broken files within source-code listings? #122433

Discussion options

You must be logged in to vote

Those are not simple files/folders, but submodules. You can read more about submodules here, but basically you can think of them as a "repository inside a repository". They point to the URL that they should be cloned from, and also the commit that they should be set to (this is the @ SHA you're seeing).

The .gitmodules file will list all submodules. Here's termux-x11's .gitmodules.

Interestingly, the submodules that seem to 404 are not hosted on GitHub (many of these submodules point to repos on GitLab). When accessing them, you're not linked to the GitLab repo, but a similarly named GitHub repo, it seems. These 404 because they don't actually exist on GitHub, only on their original host.…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by LiteBrite82
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants