Skip to content
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

[Bug] Submodules are ignored #1874

Open
skycommand opened this issue Sep 11, 2024 · 0 comments
Open

[Bug] Submodules are ignored #1874

skycommand opened this issue Sep 11, 2024 · 0 comments
Labels

Comments

@skycommand
Copy link

skycommand commented Sep 11, 2024

Hello.

I tried cloning this repo, but for some reason, submodules aren't getting cloned. (I remember you had complained about some reviewer on Alternatives.to not knowing about submodules. This might be the cause.)

Expected behavior

The following is an example of how we clone repos that have submodules (click here to expand). The command we use:
git clone --recurse-submodules https://github.com/peirick/FlifWICCodec

This is the output. As the line 6 indicates, git is downloading the submodules.

Cloning into 'FlifWICCodec'...
remote: Enumerating objects: 347, done.
remote: Total 347 (delta 0), reused 0 (delta 0), pack-reused 347 (from 1)
Receiving objects: 100% (347/347), 306.87 KiB | 523.00 KiB/s, done.
Resolving deltas: 100% (193/193), done.
Submodule 'FLIF' (https://github.com/FLIF-hub/FLIF.git) registered for path 'FLIF'
Cloning into 'F:/Projects/FlifWICCodec/FLIF'...
remote: Enumerating objects: 4778, done.
remote: Counting objects: 100% (53/53), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 4778 (delta 29), reused 42 (delta 23), pack-reused 4725 (from 1)
Receiving objects: 100% (4778/4778), 20.01 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (3333/3333), done.
Submodule path 'FLIF': checked out '57cac63a4914844d3d02948191901858512bdfdd'

Actual behavior

But git seems to not register SimpleWall's submodules. Here is the command I use:

git clone --recurse-submodules https://github.com/henrypp/simplewall

The output indicates that no submodules were resolved:

Cloning into 'simplewall'...
remote: Enumerating objects: 19129, done.
remote: Counting objects: 100% (4581/4581), done.
remote: Compressing objects: 100% (1160/1160), done.
remote: Total 19129 (delta 3555), reused 4401 (delta 3417), pack-reused 14548 (from 1)
Receiving objects: 100% (19129/19129), 10.81 MiB | 919.00 KiB/s, done.
Resolving deltas: 100% (14735/14735), done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant