simplewall icon indicating copy to clipboard operation
simplewall copied to clipboard

[Bug] Submodules are ignored

Open skycommand opened this issue 1 year ago • 0 comments

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.

skycommand avatar Sep 11 '24 11:09 skycommand