@@ -32,7 +32,7 @@ fn test_split_detached_head() -> eyre::Result<()> {
32
32
|
33
33
@ 2932db7 first commit
34
34
|
35
- o c159d6a temp(split): test2.txt
35
+ o 01523cc temp(split): test2.txt (+1)
36
36
"### ) ;
37
37
}
38
38
@@ -91,7 +91,7 @@ fn test_split_added_file() -> eyre::Result<()> {
91
91
|
92
92
@ 2f9e232 first commit
93
93
|
94
- o 067feb9 temp(split): test2.txt
94
+ o c4b067e temp(split): test2.txt (+1)
95
95
"### ) ;
96
96
}
97
97
@@ -148,7 +148,7 @@ fn test_split_modified_file() -> eyre::Result<()> {
148
148
|
149
149
@ 495b4c0 first commit
150
150
|
151
- o 590b05e temp(split): test1.txt
151
+ o 5375cb6 temp(split): test1.txt (+1/-1)
152
152
"### ) ;
153
153
}
154
154
@@ -215,7 +215,7 @@ fn test_split_deleted_file() -> eyre::Result<()> {
215
215
|
216
216
@ 495b4c0 first commit
217
217
|
218
- o bfc063a temp(split): test1.txt
218
+ o de6e4df temp(split): test1.txt (-1)
219
219
"### ) ;
220
220
}
221
221
@@ -268,7 +268,7 @@ fn test_split_multiple_files() -> eyre::Result<()> {
268
268
|
269
269
@ 8e5c74b first commit
270
270
|
271
- o 0b1f3c6 temp(split): 2 files
271
+ o 57020b0 temp(split): 2 files (+2)
272
272
"### ) ;
273
273
}
274
274
@@ -324,7 +324,7 @@ fn test_split_detached_branch() -> eyre::Result<()> {
324
324
|
325
325
@ 2932db7 (branch-name) first commit
326
326
|
327
- o c159d6a temp(split): test2.txt
327
+ o 01523cc temp(split): test2.txt (+1)
328
328
"### ) ;
329
329
}
330
330
@@ -368,7 +368,7 @@ fn test_split_attached_branch() -> eyre::Result<()> {
368
368
|
369
369
o 2932db7 first commit
370
370
|
371
- @ c159d6a (> branch-name) temp(split): test2.txt
371
+ @ 01523cc (> branch-name) temp(split): test2.txt (+1)
372
372
"### ) ;
373
373
374
374
let ( stdout, _stderr) = git. run ( & [ "status" , "--short" ] ) ?;
@@ -407,17 +407,17 @@ fn test_split_restacks_descendents() -> eyre::Result<()> {
407
407
let ( stdout, _stderr) = git. branchless ( "split" , & [ "HEAD~" , "test2.txt" ] ) ?;
408
408
insta:: assert_snapshot!( & stdout, @r###"
409
409
Attempting rebase in-memory...
410
- [1/1] Committed as: 71d03a3 create test3.txt
410
+ [1/1] Committed as: a629a22 create test3.txt
411
411
branchless: processing 1 rewritten commit
412
- branchless: running command: <git-executable> checkout 71d03a33c534eda4253fc8772a4c0d5e9515127c
412
+ branchless: running command: <git-executable> checkout a629a22974b9232523701e66e6e2bcdf8ffc8ad1
413
413
In-memory rebase succeeded.
414
414
O f777ecc (master) create initial.txt
415
415
|
416
416
o 2932db7 first commit
417
417
|
418
- o c159d6a temp(split): test2.txt
418
+ o 01523cc temp(split): test2.txt (+1)
419
419
|
420
- @ 71d03a3 create test3.txt
420
+ @ a629a22 create test3.txt
421
421
"### ) ;
422
422
}
423
423
@@ -468,17 +468,17 @@ fn test_split_undo_works() -> eyre::Result<()> {
468
468
let ( stdout, _stderr) = git. branchless ( "split" , & [ "HEAD~" , "test2.txt" ] ) ?;
469
469
insta:: assert_snapshot!( & stdout, @r###"
470
470
Attempting rebase in-memory...
471
- [1/1] Committed as: 71d03a3 create test3.txt
471
+ [1/1] Committed as: a629a22 create test3.txt
472
472
branchless: processing 1 rewritten commit
473
- branchless: running command: <git-executable> checkout 71d03a33c534eda4253fc8772a4c0d5e9515127c
473
+ branchless: running command: <git-executable> checkout a629a22974b9232523701e66e6e2bcdf8ffc8ad1
474
474
In-memory rebase succeeded.
475
475
O f777ecc (master) create initial.txt
476
476
|
477
477
o 2932db7 first commit
478
478
|
479
- o c159d6a temp(split): test2.txt
479
+ o 01523cc temp(split): test2.txt (+1)
480
480
|
481
- @ 71d03a3 create test3.txt
481
+ @ a629a22 create test3.txt
482
482
"### ) ;
483
483
}
484
484
@@ -561,7 +561,7 @@ fn test_split_supports_absolute_relative_and_repo_relative_paths() -> eyre::Resu
561
561
|
562
562
@ d9d41a3 first commit
563
563
|
564
- o fc76a91 temp(split): subdir/test3.txt
564
+ o 98da165 temp(split): subdir/test3.txt (+1)
565
565
"### ) ;
566
566
567
567
let ( stdout, _stderr) = git. run ( & [ "show" , "--pretty=format:" , "--stat" , "HEAD" ] ) ?;
@@ -593,7 +593,7 @@ fn test_split_supports_absolute_relative_and_repo_relative_paths() -> eyre::Resu
593
593
|
594
594
@ 0cb8154 first commit
595
595
|
596
- o 5d2c1d0 temp(split): subdir/test1.txt
596
+ o 89564a0 temp(split): subdir/test1.txt (+1)
597
597
"### ) ;
598
598
599
599
let ( stdout, _stderr) = git. run ( & [ "show" , "--pretty=format:" , "--stat" , "HEAD" ] ) ?;
@@ -625,7 +625,7 @@ fn test_split_supports_absolute_relative_and_repo_relative_paths() -> eyre::Resu
625
625
|
626
626
@ 9122046 first commit
627
627
|
628
- o ba3abaf temp(split): test2.txt
628
+ o c3d37e6 temp(split): test2.txt (+1)
629
629
"### ) ;
630
630
631
631
let ( stdout, _stderr) = git. run ( & [ "show" , "--pretty=format:" , "--stat" , "HEAD" ] ) ?;
@@ -657,7 +657,7 @@ fn test_split_supports_absolute_relative_and_repo_relative_paths() -> eyre::Resu
657
657
|
658
658
@ 6d0cd9b first commit
659
659
|
660
- o 2f03a38 temp(split): test1.txt
660
+ o 9eeb11b temp(split): test1.txt (+1)
661
661
"### ) ;
662
662
663
663
let ( stdout, _stderr) = git. run ( & [ "show" , "--pretty=format:" , "--stat" , "HEAD" ] ) ?;
0 commit comments