We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1420bf6 commit 7ee6ba1Copy full SHA for 7ee6ba1
crates/forge/src/cmd/update.rs
@@ -151,6 +151,11 @@ impl UpdateArgs {
151
// checkout the submodules at the correct tags
152
// Skip branches that were already updated above to avoid reverting to local branch
153
for (path, dep_id) in foundry_lock.iter() {
154
+ // Ignore other dependencies if single update.
155
+ if !dep_overrides.is_empty() && !dep_overrides.contains_key(path) {
156
+ continue;
157
+ }
158
+
159
// Skip branches that were already updated
160
if dep_id.is_branch() && dep_id.overridden() {
161
continue;
0 commit comments