File tree Expand file tree Collapse file tree 9 files changed +292
-263
lines changed Expand file tree Collapse file tree 9 files changed +292
-263
lines changed Original file line number Diff line number Diff line change @@ -36,5 +36,5 @@ itertools = "0.10"
36
36
which = " 4"
37
37
38
38
[dev-dependencies ]
39
- git-fixture = { version = " 0.2 " }
39
+ git-fixture = { version = " 0.3 " , features = [ " yaml " ] }
40
40
assert_fs = " 1"
Original file line number Diff line number Diff line change 1
1
init : true
2
- events :
2
+ commands :
3
3
- tree :
4
- tracked :
4
+ files :
5
5
" file_a.txt " : " 1"
6
6
message : " 1"
7
- branch : initial
7
+ - branch : initial
8
8
- tree :
9
- tracked :
9
+ files :
10
10
" file_a.txt " : " 2"
11
11
message : " 2"
12
12
- tree :
13
- tracked :
13
+ files :
14
14
" file_a.txt " : " 3"
15
15
message : " 3"
16
- branch : base
17
- - children :
18
- - - tree :
19
- tracked :
20
- " file_a.txt " : " 3"
21
- " file_b.txt " : " 1"
22
- message : " 4"
23
- - tree :
24
- tracked :
25
- " file_a.txt " : " 3"
26
- " file_b.txt " : " 2"
27
- message : " 5"
28
- branch : master
29
- - tree :
30
- tracked :
31
- " file_a.txt " : " 3"
32
- " file_b.txt " : " 3"
33
- message : " 6"
34
- branch : off_master
35
- - - tree :
36
- tracked :
37
- " file_a.txt " : " 3"
38
- " file_c.txt " : " 1"
39
- message : " 7"
40
- branch : feature1
41
- - tree :
42
- tracked :
43
- " file_a.txt " : " 3"
44
- " file_c.txt " : " 2"
45
- message : " 8"
46
- - tree :
47
- tracked :
48
- " file_a.txt " : " 3"
49
- " file_c.txt " : " 3"
50
- message : " 9"
51
- - tree :
52
- tracked :
53
- " file_a.txt " : " 3"
54
- " file_c.txt " : " 4"
55
- message : " 10"
56
- branch : feature2
16
+ - branch : base
17
+ - label : base
18
+
19
+ - reset : base
20
+ - tree :
21
+ files :
22
+ " file_a.txt " : " 3"
23
+ " file_b.txt " : " 1"
24
+ message : " 4"
25
+ - tree :
26
+ files :
27
+ " file_a.txt " : " 3"
28
+ " file_b.txt " : " 2"
29
+ message : " 5"
30
+ - branch : master
31
+ - tree :
32
+ files :
33
+ " file_a.txt " : " 3"
34
+ " file_b.txt " : " 3"
35
+ message : " 6"
36
+ - branch : off_master
37
+
38
+ - reset : base
39
+ - tree :
40
+ files :
41
+ " file_a.txt " : " 3"
42
+ " file_c.txt " : " 1"
43
+ message : " 7"
44
+ - branch : feature1
45
+ - tree :
46
+ files :
47
+ " file_a.txt " : " 3"
48
+ " file_c.txt " : " 2"
49
+ message : " 8"
50
+ - tree :
51
+ files :
52
+ " file_a.txt " : " 3"
53
+ " file_c.txt " : " 3"
54
+ message : " 9"
55
+ - tree :
56
+ files :
57
+ " file_a.txt " : " 3"
58
+ " file_c.txt " : " 4"
59
+ message : " 10"
60
+ - branch : feature2
61
+ - head :
Original file line number Diff line number Diff line change 1
1
init : true
2
- events :
2
+ commands :
3
3
- tree :
4
- tracked :
4
+ files :
5
5
" file_a.txt " : " 1"
6
6
message : " 1"
7
- branch : initial
7
+ - branch : initial
8
8
- tree :
9
- tracked :
9
+ files :
10
10
" file_a.txt " : " 2"
11
11
message : " 2"
12
12
- tree :
13
- tracked :
13
+ files :
14
14
" file_a.txt " : " 3"
15
15
message : " 3"
16
- branch : base
17
- - children :
18
- - - tree :
19
- tracked :
20
- " file_a.txt " : " 4"
21
- message : " 4"
22
- - tree :
23
- tracked :
24
- " file_a.txt " : " 5"
25
- message : " 5"
26
- branch : master
27
- - - tree :
28
- tracked :
29
- " file_a.txt " : " 6"
30
- message : " 7"
31
- branch : feature1
16
+ - branch : base
17
+ - label : base
18
+
19
+ - reset : base
20
+ - tree :
21
+ files :
22
+ " file_a.txt " : " 4"
23
+ message : " 4"
24
+ - tree :
25
+ files :
26
+ " file_a.txt " : " 5"
27
+ message : " 5"
28
+ - branch : master
29
+
30
+ - reset : base
31
+ - tree :
32
+ files :
33
+ " file_a.txt " : " 6"
34
+ message : " 7"
35
+ - branch : feature1
Original file line number Diff line number Diff line change 1
1
init : true
2
- events :
2
+ commands :
3
3
- tree :
4
- tracked :
4
+ files :
5
5
" file_a.txt " : " 3"
6
6
message : " commit 1"
7
- branch : base
7
+ - branch : base
8
8
- tree :
9
- tracked :
9
+ files :
10
10
" file_a.txt " : " 3"
11
11
" file_b.txt " : " 1"
12
12
message : " commit 2"
13
13
- tree :
14
- tracked :
14
+ files :
15
15
" file_a.txt " : " 3"
16
16
" file_b.txt " : " 2"
17
17
message : " master commit"
18
- branch : master
18
+ - branch : master
19
19
- tree :
20
- tracked :
20
+ files :
21
21
" file_a.txt " : " 3"
22
22
" file_b.txt " : " 3"
23
23
message : " feature1 commit 1"
24
24
- tree :
25
- tracked :
25
+ files :
26
26
" file_a.txt " : " 3"
27
27
" file_b.txt " : " 5"
28
28
message : " feature1 commit 2"
29
- branch : feature1
29
+ - branch : feature1
30
30
- tree :
31
- tracked :
31
+ files :
32
32
" file_a.txt " : " 3"
33
33
" file_c.txt " : " 1"
34
34
message : " fixup! feature1 commit 1"
35
35
- tree :
36
- tracked :
36
+ files :
37
37
" file_a.txt " : " 3"
38
38
" file_c.txt " : " 4"
39
39
message : " feature1 commit 3"
40
40
- tree :
41
- tracked :
41
+ files :
42
42
" file_a.txt " : " 3"
43
43
" file_c.txt " : " 1"
44
44
message : " fixup! feature1 commit 1"
45
45
- tree :
46
- tracked :
46
+ files :
47
47
" file_a.txt " : " 3"
48
48
" file_c.txt " : " 2"
49
49
message : " fixup! feature1 commit 2"
50
50
- tree :
51
- tracked :
51
+ files :
52
52
" file_a.txt " : " 3"
53
53
" file_c.txt " : " 4"
54
54
message : " feature2 commit"
55
55
- tree :
56
- tracked :
56
+ files :
57
57
" file_a.txt " : " 3"
58
58
" file_c.txt " : " 1"
59
59
message : " fixup! feature1 commit 1"
60
- branch : feature2
60
+ - branch : feature2
Original file line number Diff line number Diff line change 1
1
init : true
2
- events :
2
+ commands :
3
3
- tree :
4
- tracked :
4
+ files :
5
5
" file_a.txt " : " 1"
6
6
message : " 1"
7
- branch : initial
7
+ - branch : initial
8
8
- tree :
9
- tracked :
9
+ files :
10
10
" file_a.txt " : " 2"
11
11
message : " 2"
12
12
- tree :
13
- tracked :
13
+ files :
14
14
" file_a.txt " : " 3"
15
15
message : " 3"
16
- branch : master
17
- - children :
18
- - - tree :
19
- tracked :
20
- " file_a.txt " : " 3"
21
- " file_b.txt " : " 1"
22
- message : " 7"
23
- - tree :
24
- tracked :
25
- " file_a.txt " : " 3"
26
- " file_b.txt " : " 2"
27
- message : " 8"
28
- branch : feature2
29
- # `git rebase master` caused the history to split
30
- - - tree :
31
- tracked :
32
- " file_a.txt " : " 3"
33
- " file_b.txt " : " 1"
34
- message : " 7"
35
- branch : feature1
16
+ - branch : master
17
+ - label : master
18
+
19
+ - reset : master
20
+ - tree :
21
+ files :
22
+ " file_a.txt " : " 3"
23
+ " file_b.txt " : " 1"
24
+ message : " 7"
25
+ - tree :
26
+ files :
27
+ " file_a.txt " : " 3"
28
+ " file_b.txt " : " 2"
29
+ message : " 8"
30
+ - branch : feature2
31
+
32
+ # `git rebase master` caused the history to split
33
+ - reset : master
34
+ - tree :
35
+ files :
36
+ " file_a.txt " : " 3"
37
+ " file_b.txt " : " 1"
38
+ message : " 7"
39
+ - branch : feature1
Original file line number Diff line number Diff line change 1
1
init : true
2
- events :
2
+ commands :
3
3
- tree :
4
- tracked :
4
+ files :
5
5
" file_a.txt " : " 1"
6
6
message : " 1"
7
- branch : initial
7
+ - branch : initial
8
8
- tree :
9
- tracked :
9
+ files :
10
10
" file_a.txt " : " 2"
11
11
message : " 2"
12
12
- tree :
13
- tracked :
13
+ files :
14
14
" file_a.txt " : " 3"
15
15
message : " 3"
16
- branch : master
17
- - children :
18
- - - tree :
19
- tracked :
20
- " file_a.txt " : " 3"
21
- " file_b.txt " : " 1"
22
- message : " 7"
23
- - tree :
24
- tracked :
25
- " file_a.txt " : " 3"
26
- " file_b.txt " : " 1"
27
- " file_c.txt " : " 1"
28
- message : " 8"
29
- branch : feature2
30
- # `git rebase master` caused the history to split
31
- - - tree :
32
- tracked :
33
- " file_a.txt " : " 3"
34
- " file_b.txt " : " 1"
35
- message : " 7"
36
- branch : feature1
16
+ - branch : master
17
+ - label : master
18
+
19
+ - reset : master
20
+ - tree :
21
+ files :
22
+ " file_a.txt " : " 3"
23
+ " file_b.txt " : " 1"
24
+ message : " 7"
25
+ - tree :
26
+ files :
27
+ " file_a.txt " : " 3"
28
+ " file_b.txt " : " 1"
29
+ " file_c.txt " : " 1"
30
+ message : " 8"
31
+ - branch : feature2
32
+
33
+ # `git rebase master` caused the history to split
34
+ - reset : master
35
+ - tree :
36
+ files :
37
+ " file_a.txt " : " 3"
38
+ " file_b.txt " : " 1"
39
+ message : " 7"
40
+ - branch : feature1
You can’t perform that action at this time.
0 commit comments