@@ -158,7 +158,7 @@ fn test_sync_pull() -> eyre::Result<()> {
158
158
let ( stdout, _stderr) = cloned_repo. branchless ( "sync" , & [ "-p" ] ) ?;
159
159
let stdout: String = remove_nondeterministic_lines ( stdout) ;
160
160
insta:: assert_snapshot!( stdout, @r###"
161
- branchless: running command: <git-executable> fetch --all
161
+ branchless: running command: <git-executable> fetch origin
162
162
Fast-forwarding branch master to f81d55c create test5.txt
163
163
Attempting rebase in-memory...
164
164
[1/1] Committed as: 2831fb5 create test6.txt
@@ -183,7 +183,7 @@ fn test_sync_pull() -> eyre::Result<()> {
183
183
let ( stdout, _stderr) = cloned_repo. branchless ( "sync" , & [ "-p" ] ) ?;
184
184
let stdout: String = remove_nondeterministic_lines ( stdout) ;
185
185
insta:: assert_snapshot!( stdout, @r###"
186
- branchless: running command: <git-executable> fetch --all
186
+ branchless: running command: <git-executable> fetch origin
187
187
Not updating branch master at f81d55c create test5.txt
188
188
Not moving up-to-date stack at 2831fb5 create test6.txt
189
189
"### ) ;
@@ -297,7 +297,7 @@ fn test_sync_divergent_main_branch() -> eyre::Result<()> {
297
297
let ( stdout, _stderr) = cloned_repo. branchless ( "sync" , & [ "-p" ] ) ?;
298
298
let stdout = remove_nondeterministic_lines ( stdout) ;
299
299
insta:: assert_snapshot!( stdout, @r###"
300
- branchless: running command: <git-executable> fetch --all
300
+ branchless: running command: <git-executable> fetch origin
301
301
Syncing branch master
302
302
Attempting rebase in-memory...
303
303
[1/1] Committed as: f81d55c create test5.txt
@@ -371,7 +371,7 @@ fn test_sync_no_delete_main_branch() -> eyre::Result<()> {
371
371
Successfully rebased and updated detached HEAD.
372
372
"### ) ;
373
373
insta:: assert_snapshot!( stdout, @r###"
374
- branchless: running command: <git-executable> fetch --all
374
+ branchless: running command: <git-executable> fetch origin
375
375
Syncing branch master
376
376
branchless: running command: <git-executable> diff --quiet
377
377
Calling Git for on-disk rebase...
@@ -469,10 +469,10 @@ fn test_sync_checked_out_main_branch() -> eyre::Result<()> {
469
469
let ( stdout, _stderr) = cloned_repo. branchless ( "sync" , & [ "--pull" ] ) ?;
470
470
let stdout: String = remove_nondeterministic_lines ( stdout) ;
471
471
insta:: assert_snapshot!( stdout, @r###"
472
- branchless: running command: <git-executable> fetch --all
473
- Fast-forwarding branch master to 96d1c37 create test2.txt
474
- branchless: running command: <git-executable> rebase 96d1c37a3d4363611c49f7e52186e189a04c531f
475
- "### ) ;
472
+ branchless: running command: <git-executable> fetch origin
473
+ Fast-forwarding branch master to 96d1c37 create test2.txt
474
+ branchless: running command: <git-executable> rebase 96d1c37a3d4363611c49f7e52186e189a04c531f
475
+ "### ) ;
476
476
}
477
477
478
478
{
@@ -524,7 +524,7 @@ fn test_sync_checked_out_main_with_dirty_working_copy() -> eyre::Result<()> {
524
524
error: Please commit or stash them.
525
525
"### ) ;
526
526
insta:: assert_snapshot!( stdout, @r###"
527
- branchless: running command: <git-executable> fetch --all
527
+ branchless: running command: <git-executable> fetch origin
528
528
Not updating branch master at 62fc20d create test1.txt
529
529
branchless: running command: <git-executable> rebase 62fc20d2a290daea0d52bdc2ed2ad4be6491010e
530
530
"### ) ;
0 commit comments