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 / sha256 / expect.simple-main-to-end

75 lines · 1514 bytes Raw Blame History
1commit 5526ed05c2476b56af8b7be499e8f78bd50f490740733a9ca7e1f55878fa90a9
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 e4fa1d8..62c1fc2 100644
9--- a/a.c
10+++ b/a.c
11@@ -18,5 +18,7 @@ long f(long x)
12 int main ()
13 {
14 printf("%ld\n", f(15));
15 return 0;
16-}
17\ No newline at end of file
18+}
19+
20+/* incomplete lines are bad! */
21
22commit 29f32ac3141c48b22803e5c4127b719917b67d0f8ca8c5248bebfa2a19f7da10
23Author: Thomas Rast <trast@student.ethz.ch>
24Date: Thu Feb 28 10:48:10 2013 +0100
25
26 change to an incomplete line at end
27
28diff --git a/a.c b/a.c
29index d325124..e4fa1d8 100644
30--- a/a.c
31+++ b/a.c
32@@ -18,5 +18,5 @@ long f(long x)
33 int main ()
34 {
35 printf("%ld\n", f(15));
36 return 0;
37-}
38+}
39\ No newline at end of file
40
41commit ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f
42Author: Thomas Rast <trast@student.ethz.ch>
43Date: Thu Feb 28 10:45:16 2013 +0100
44
45 touch both functions
46
47diff --git a/a.c b/a.c
48index 7a296b9..75c0119 100644
49--- a/a.c
50+++ b/a.c
51@@ -17,5 +17,5 @@ int f(int x)
52 int main ()
53 {
54- printf("%d\n", f(15));
55+ printf("%ld\n", f(15));
56 return 0;
57 }
58
59commit 1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592
60Author: Thomas Rast <trast@student.ethz.ch>
61Date: Thu Feb 28 10:44:48 2013 +0100
62
63 initial
64
65diff --git a/a.c b/a.c
66new file mode 100644
67index 0000000..9f550c3
68--- /dev/null
69+++ b/a.c
70@@ -0,0 +16,5 @@
71+int main ()
72+{
73+ printf("%d\n", f(15));
74+ return 0;
75+}