interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t4211 / sha1 / expect.multiple-overlapping

194 lines · 2704 bytes Raw Blame History
1commit 4659538844daa2849b1a9e7d6fadb96fcd26fc83
2Author: Thomas Rast <trast@student.ethz.ch>
3Date: Thu Feb 28 10:48:43 2013 +0100
4
5 change back to complete line
6
7diff --git a/a.c b/a.c
8index 0b9cae5..5de3ea4 100644
9--- a/a.c
10+++ b/a.c
11@@ -4,19 +4,21 @@
12 long f(long x)
13 {
14 int s = 0;
15 while (x) {
16 x >>= 1;
17 s++;
18 }
19 return s;
20 }
21
22 /*
23 * This is only an example!
24 */
25
26 int main ()
27 {
28 printf("%ld\n", f(15));
29 return 0;
30-}
31\ No newline at end of file
32+}
33+
34+/* incomplete lines are bad! */
35
36commit 100b61a6f2f720f812620a9d10afb3a960ccb73c
37Author: Thomas Rast <trast@student.ethz.ch>
38Date: Thu Feb 28 10:48:10 2013 +0100
39
40 change to an incomplete line at end
41
42diff --git a/a.c b/a.c
43index 5e709a1..0b9cae5 100644
44--- a/a.c
45+++ b/a.c
46@@ -4,19 +4,19 @@
47 long f(long x)
48 {
49 int s = 0;
50 while (x) {
51 x >>= 1;
52 s++;
53 }
54 return s;
55 }
56
57 /*
58 * This is only an example!
59 */
60
61 int main ()
62 {
63 printf("%ld\n", f(15));
64 return 0;
65-}
66+}
67\ No newline at end of file
68
69commit 39b6eb2d5b706d3322184a169f666f25ed3fbd00
70Author: Thomas Rast <trast@student.ethz.ch>
71Date: Thu Feb 28 10:45:41 2013 +0100
72
73 touch comment
74
75diff --git a/a.c b/a.c
76index e51de13..bdb2bb1 100644
77--- a/a.c
78+++ b/a.c
79@@ -3,19 +3,19 @@
80 long f(long x)
81 {
82 int s = 0;
83 while (x) {
84 x >>= 1;
85 s++;
86 }
87 return s;
88 }
89
90 /*
91- * A comment.
92+ * This is only an example!
93 */
94
95 int main ()
96 {
97 printf("%ld\n", f(15));
98 return 0;
99 }
100
101commit a6eb82647d5d67f893da442f8f9375fd89a3b1e2
102Author: Thomas Rast <trast@student.ethz.ch>
103Date: Thu Feb 28 10:45:16 2013 +0100
104
105 touch both functions
106
107diff --git a/a.c b/a.c
108index 3233403..e51de13 100644
109--- a/a.c
110+++ b/a.c
111@@ -3,19 +3,19 @@
112-int f(int x)
113+long f(long x)
114 {
115 int s = 0;
116 while (x) {
117 x >>= 1;
118 s++;
119 }
120 return s;
121 }
122
123 /*
124 * A comment.
125 */
126
127 int main ()
128 {
129- printf("%d\n", f(15));
130+ printf("%ld\n", f(15));
131 return 0;
132 }
133
134commit f04fb20f2c77850996cba739709acc6faecc58f7
135Author: Thomas Rast <trast@student.ethz.ch>
136Date: Thu Feb 28 10:44:55 2013 +0100
137
138 change f()
139
140diff --git a/a.c b/a.c
141index 444e415..3233403 100644
142--- a/a.c
143+++ b/a.c
144@@ -3,18 +3,19 @@
145 int f(int x)
146 {
147 int s = 0;
148 while (x) {
149 x >>= 1;
150 s++;
151 }
152+ return s;
153 }
154
155 /*
156 * A comment.
157 */
158
159 int main ()
160 {
161 printf("%d\n", f(15));
162 return 0;
163 }
164
165commit de4c48ae814792c02a49c4c3c0c757ae69c55f6a
166Author: Thomas Rast <trast@student.ethz.ch>
167Date: Thu Feb 28 10:44:48 2013 +0100
168
169 initial
170
171diff --git a/a.c b/a.c
172new file mode 100644
173index 0000000..444e415
174--- /dev/null
175+++ b/a.c
176@@ -0,0 +3,18 @@
177+int f(int x)
178+{
179+ int s = 0;
180+ while (x) {
181+ x >>= 1;
182+ s++;
183+ }
184+}
185+
186+/*
187+ * A comment.
188+ */
189+
190+int main ()
191+{
192+ printf("%d\n", f(15));
193+ return 0;
194+}