]> git.ipfire.org Git - thirdparty/git.git/blob - t/t4013/diff.whatchanged_--root_-p_master
t4013: add tests for diff/log family output options.
[thirdparty/git.git] / t / t4013 / diff.whatchanged_--root_-p_master
1 $ git whatchanged --root -p master
2 commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
3 Author: A U Thor <author@example.com>
4 Date: Mon Jun 26 00:03:00 2006 +0000
5
6 Side
7
8 diff --git a/dir/sub b/dir/sub
9 index 35d242b..7289e35 100644
10 --- a/dir/sub
11 +++ b/dir/sub
12 @@ -1,2 +1,4 @@
13 A
14 B
15 +1
16 +2
17 diff --git a/file0 b/file0
18 index 01e79c3..f4615da 100644
19 --- a/file0
20 +++ b/file0
21 @@ -1,3 +1,6 @@
22 1
23 2
24 3
25 +A
26 +B
27 +C
28 diff --git a/file3 b/file3
29 new file mode 100644
30 index 0000000..7289e35
31 --- /dev/null
32 +++ b/file3
33 @@ -0,0 +1,4 @@
34 +A
35 +B
36 +1
37 +2
38
39 commit 889b315013ef9f2e2f90aa0b054b267c8a557847
40 Author: A U Thor <author@example.com>
41 Date: Mon Jun 26 00:02:00 2006 +0000
42
43 Third
44
45 diff --git a/dir/sub b/dir/sub
46 index 8422d40..cead32e 100644
47 --- a/dir/sub
48 +++ b/dir/sub
49 @@ -2,3 +2,5 @@ A
50 B
51 C
52 D
53 +E
54 +F
55 diff --git a/file1 b/file1
56 new file mode 100644
57 index 0000000..b1e6722
58 --- /dev/null
59 +++ b/file1
60 @@ -0,0 +1,3 @@
61 +A
62 +B
63 +C
64
65 commit 7952a93e09bf565b5592766a438b40cd81f4846f
66 Author: A U Thor <author@example.com>
67 Date: Mon Jun 26 00:01:00 2006 +0000
68
69 Second
70
71 diff --git a/dir/sub b/dir/sub
72 index 35d242b..8422d40 100644
73 --- a/dir/sub
74 +++ b/dir/sub
75 @@ -1,2 +1,4 @@
76 A
77 B
78 +C
79 +D
80 diff --git a/file0 b/file0
81 index 01e79c3..b414108 100644
82 --- a/file0
83 +++ b/file0
84 @@ -1,3 +1,6 @@
85 1
86 2
87 3
88 +4
89 +5
90 +6
91 diff --git a/file2 b/file2
92 deleted file mode 100644
93 index 01e79c3..0000000
94 --- a/file2
95 +++ /dev/null
96 @@ -1,3 +0,0 @@
97 -1
98 -2
99 -3
100
101 commit 444ac553ac7612cc88969031b02b3767fb8a353a
102 Author: A U Thor <author@example.com>
103 Date: Mon Jun 26 00:00:00 2006 +0000
104
105 Initial
106
107 diff --git a/dir/sub b/dir/sub
108 new file mode 100644
109 index 0000000..35d242b
110 --- /dev/null
111 +++ b/dir/sub
112 @@ -0,0 +1,2 @@
113 +A
114 +B
115 diff --git a/file0 b/file0
116 new file mode 100644
117 index 0000000..01e79c3
118 --- /dev/null
119 +++ b/file0
120 @@ -0,0 +1,3 @@
121 +1
122 +2
123 +3
124 diff --git a/file2 b/file2
125 new file mode 100644
126 index 0000000..01e79c3
127 --- /dev/null
128 +++ b/file2
129 @@ -0,0 +1,3 @@
130 +1
131 +2
132 +3
133 $