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

"git clone" used incorrectly #71

Open
Topi-ab opened this issue Jul 6, 2024 · 0 comments
Open

"git clone" used incorrectly #71

Topi-ab opened this issue Jul 6, 2024 · 0 comments

Comments

@Topi-ab
Copy link

Topi-ab commented Jul 6, 2024

git, version 2.30.2 (which is used in today's version of gcr.io/hdl-containers/debian/bullseye/build/dev), doesn't support --recursive option.

See https://stackoverflow.com/questions/3796927/how-do-i-git-clone-a-repo-including-its-submodules

Instead use --recurse-submodules

git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD.git /tmp/openroad

The same flag is used also in:

find -name HDLC | xargs grep "recursive"
./debian-bullseye/irsim/HDLC:  git clone --recursive https://github.com/RTimothyEdwards/irsim.git /tmp/irsim
./debian-bullseye/superprove/HDLC:  git clone --recursive https://github.com/sterin/super-prove-build /tmp/superprove
./debian-bullseye/xschem/HDLC:  git clone --recursive https://github.com/StefanSchippers/xschem.git /tmp/xschem
./debian-bullseye/openroad/HDLC:  git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD.git /tmp/openroad
./debian-bookworm/irsim/HDLC:  git clone --recursive https://github.com/RTimothyEdwards/irsim.git /tmp/irsim
./debian-bookworm/xschem/HDLC:  git clone --recursive https://github.com/StefanSchippers/xschem.git /tmp/xschem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant