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

Doesn't respect submodule update=none strategy in .gitmodules #328

Open
sdroege opened this issue Sep 5, 2022 · 0 comments
Open

Doesn't respect submodule update=none strategy in .gitmodules #328

sdroege opened this issue Sep 5, 2022 · 0 comments

Comments

@sdroege
Copy link

sdroege commented Sep 5, 2022

See rust-lang/cargo#10717 for the corresponding fix in cargo.

When running cargo outdated on such a repository, it will still download all the git submodules while cargo update for example won't.

$ cargo update
    Updating git repository `https://github.com/gtk-rs/gtk-rs-core`
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
[...]
$ cargo outdated
  Parsing... current workspace
Resolving... current workspace
    Updating git submodule `https://github.com/gtk-rs/gir`
    Updating git submodule `https://github.com/gtk-rs/gir-files`
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