@@ -3066,7 +3066,8 @@ fn test_move_branches_after_move() -> eyre::Result<()> {
30663066 insta:: assert_snapshot!( stderr, @r###"
30673067 branchless: creating working copy snapshot
30683068 Previous HEAD position was f81d55c create test5.txt
3069- Switched to branch 'bar'
3069+ branchless: processing 1 update: ref HEAD
3070+ HEAD is now at 566e434 create test5.txt
30703071 branchless: processing checkout
30713072 "### ) ;
30723073 insta:: assert_snapshot!( stdout, @r###"
@@ -3076,15 +3077,15 @@ fn test_move_branches_after_move() -> eyre::Result<()> {
30763077 [3/3] Committed as: 566e434 create test5.txt
30773078 branchless: processing 2 updates: branch bar, branch foo
30783079 branchless: processing 3 rewritten commits
3079- branchless: running command: <git-executable> checkout bar
3080+ branchless: running command: <git-executable> checkout 566e4341a4a9a930fc2bf7ccdfa168e9f266c34a
30803081 :
30813082 O 62fc20d create test1.txt
30823083 |\
30833084 | o 4838e49 (foo) create test3.txt
30843085 | |
30853086 | o a248207 create test4.txt
30863087 | |
3087- | @ 566e434 (> bar) create test5.txt
3088+ | @ 566e434 (bar) create test5.txt
30883089 |
30893090 O 96d1c37 (master) create test2.txt
30903091 In-memory rebase succeeded.
@@ -3101,7 +3102,7 @@ fn test_move_branches_after_move() -> eyre::Result<()> {
31013102 | |
31023103 | o a248207 create test4.txt
31033104 | |
3104- | @ 566e434 (> bar) create test5.txt
3105+ | @ 566e434 (bar) create test5.txt
31053106 |
31063107 O 96d1c37 (master) create test2.txt
31073108 "### ) ;
@@ -3120,7 +3121,7 @@ fn test_move_branches_after_move() -> eyre::Result<()> {
31203121 | |
31213122 | o a248207 create test4.txt
31223123 | |
3123- | @ 566e434 (> bar) create test5.txt
3124+ | @ 566e434 (bar) create test5.txt
31243125 |
31253126 O 96d1c37 (master) create test2.txt
31263127 "### ) ;
@@ -3426,12 +3427,13 @@ fn test_move_delete_checked_out_branch() -> eyre::Result<()> {
34263427 branchless: processing 3 rewritten commits
34273428 branchless: processing 2 updates: branch more-work, branch work
34283429 branchless: creating working copy snapshot
3429- branchless: running command: <git-executable> checkout master
3430+ branchless: running command: <git-executable> checkout 91c5ce63686889388daec1120bf57bea8a744bc2
34303431 Previous HEAD position was 012efd6 create test3.txt
3431- Switched to branch 'master'
3432+ branchless: processing 1 update: ref HEAD
3433+ HEAD is now at 91c5ce6 create test2.txt
34323434 branchless: processing checkout
34333435 :
3434- @ 91c5ce6 (> master) create test2.txt
3436+ @ 91c5ce6 (master) create test2.txt
34353437 |
34363438 o 012efd6 (more-work) create test3.txt
34373439 Successfully rebased and updated detached HEAD.
@@ -3449,7 +3451,7 @@ fn test_move_delete_checked_out_branch() -> eyre::Result<()> {
34493451 let ( stdout, _stderr) = git. run ( & [ "smartlog" ] ) ?;
34503452 insta:: assert_snapshot!( stdout, @r###"
34513453 :
3452- @ 91c5ce6 (> master) create test2.txt
3454+ @ 91c5ce6 (master) create test2.txt
34533455 |
34543456 o 012efd6 (more-work) create test3.txt
34553457 "### ) ;
@@ -3464,7 +3466,8 @@ fn test_move_delete_checked_out_branch() -> eyre::Result<()> {
34643466 insta:: assert_snapshot!( stderr, @r###"
34653467 branchless: creating working copy snapshot
34663468 Previous HEAD position was 96d1c37 create test2.txt
3467- Switched to branch 'master'
3469+ branchless: processing 1 update: ref HEAD
3470+ HEAD is now at 91c5ce6 create test2.txt
34683471 branchless: processing checkout
34693472 "### ) ;
34703473 insta:: assert_snapshot!( stdout, @r###"
@@ -3474,9 +3477,9 @@ fn test_move_delete_checked_out_branch() -> eyre::Result<()> {
34743477 [3/3] Committed as: 012efd6 create test3.txt
34753478 branchless: processing 2 updates: branch more-work, branch work
34763479 branchless: processing 3 rewritten commits
3477- branchless: running command: <git-executable> checkout master
3480+ branchless: running command: <git-executable> checkout 91c5ce63686889388daec1120bf57bea8a744bc2
34783481 :
3479- @ 91c5ce6 (> master) create test2.txt
3482+ @ 91c5ce6 (master) create test2.txt
34803483 |
34813484 o 012efd6 (more-work) create test3.txt
34823485 In-memory rebase succeeded.
@@ -3487,7 +3490,7 @@ fn test_move_delete_checked_out_branch() -> eyre::Result<()> {
34873490 let ( stdout, _stderr) = git. run ( & [ "smartlog" ] ) ?;
34883491 insta:: assert_snapshot!( stdout, @r###"
34893492 :
3490- @ 91c5ce6 (> master) create test2.txt
3493+ @ 91c5ce6 (master) create test2.txt
34913494 |
34923495 o 012efd6 (more-work) create test3.txt
34933496 "### ) ;
0 commit comments