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

Unable to recursively init submodules #5119

Open
Atemu opened this issue Apr 7, 2024 · 1 comment
Open

Unable to recursively init submodules #5119

Atemu opened this issue Apr 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Atemu
Copy link

Atemu commented Apr 7, 2024

After cloning a repository with submodules, it is my understanding that in order to populate all submodules correctly, you must run git submodule update --init --recursive. However, it is not possible to run this command using magit's submodule transient command because the "Update" action does not allow the --init flag and the "Populate" action does not allow the --recursive flag.

Magit 20240320.2336 [>= 3.3.0.50-git], Transient 0.6.0, Git 2.44.0, Emacs 29.3, gnu/linux
@tarsius
Copy link
Member

tarsius commented Apr 7, 2024

magit-submodule-populate should probably accept the --recursive argument. I'll have to think about it and setup a flock of testing repositories.

@tarsius tarsius added the enhancement New feature or request label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants