File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1193,6 +1193,8 @@ fn fetch_with_cli(
1193
1193
cmd. arg ( "fetch" ) ;
1194
1194
if tags {
1195
1195
cmd. arg ( "--tags" ) ;
1196
+ } else {
1197
+ cmd. arg ( "--no-tags" ) ;
1196
1198
}
1197
1199
match gctx. shell ( ) . verbosity ( ) {
1198
1200
Verbosity :: Normal => { }
Original file line number Diff line number Diff line change @@ -2954,7 +2954,7 @@ fn use_the_cli() {
2954
2954
2955
2955
let stderr = str![ [ r#"
2956
2956
[UPDATING] git repository `[ROOTURL]/dep1`
2957
- [RUNNING] `git fetch --verbose --force --update-head-ok [..][ROOTURL]/dep1[..] [..]+HEAD:refs/remotes/origin/HEAD[..]`
2957
+ [RUNNING] `git fetch --no-tags -- verbose --force --update-head-ok [..][ROOTURL]/dep1[..] [..]+HEAD:refs/remotes/origin/HEAD[..]`
2958
2958
From [ROOTURL]/dep1
2959
2959
* [new ref] [..] -> origin/HEAD[..]
2960
2960
[LOCKING] 1 package to latest compatible version
You can’t perform that action at this time.
0 commit comments