master
simple-main-to-end 75 lines 1.38 KB
Raw
1 commit 4659538844daa2849b1a9e7d6fadb96fcd26fc83
2 Author: Thomas Rast <trast@student.ethz.ch>
3 Date: Thu Feb 28 10:48:43 2013 +0100
4
5 change back to complete line
6
7 diff --git a/a.c b/a.c
8 index 0b9cae5..5de3ea4 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
22 commit 100b61a6f2f720f812620a9d10afb3a960ccb73c
23 Author: Thomas Rast <trast@student.ethz.ch>
24 Date: Thu Feb 28 10:48:10 2013 +0100
25
26 change to an incomplete line at end
27
28 diff --git a/a.c b/a.c
29 index 5e709a1..0b9cae5 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
41 commit a6eb82647d5d67f893da442f8f9375fd89a3b1e2
42 Author: Thomas Rast <trast@student.ethz.ch>
43 Date: Thu Feb 28 10:45:16 2013 +0100
44
45 touch both functions
46
47 diff --git a/a.c b/a.c
48 index 3233403..e51de13 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
59 commit de4c48ae814792c02a49c4c3c0c757ae69c55f6a
60 Author: Thomas Rast <trast@student.ethz.ch>
61 Date: Thu Feb 28 10:44:48 2013 +0100
62
63 initial
64
65 diff --git a/a.c b/a.c
66 new file mode 100644
67 index 0000000..444e415
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 +}