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.
2 parents a23f3ea + 5094a7f commit 36f1caeCopy full SHA for 36f1cae
src/bin/upgrade/upgrade.rs
@@ -256,7 +256,9 @@ fn exec(args: UpgradeArgs) -> CargoResult<()> {
256
None => {
257
let maybe_reason = match dependency.source() {
258
Some(Source::Git(_)) => {
259
- git_crates.insert(dependency.name.clone());
+ if reason.is_none() {
260
+ git_crates.insert(dependency.name.clone());
261
+ }
262
Some(Reason::GitSource)
263
}
264
Some(Source::Path(_)) => Some(Reason::PathSource),
0 commit comments