Raw
1 commit 5526ed05c2476b56af8b7be499e8f78bd50f490740733a9ca7e1f55878fa90a9
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 e4fa1d8..62c1fc2 100644
9 --- a/a.c
10 +++ b/a.c
11 @@ -18,5 +18,5 @@ 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 commit 29f32ac3141c48b22803e5c4127b719917b67d0f8ca8c5248bebfa2a19f7da10
21 Author: Thomas Rast <trast@student.ethz.ch>
22 Date: Thu Feb 28 10:48:10 2013 +0100
23
24 change to an incomplete line at end
25
26 diff --git a/a.c b/a.c
27 index d325124..e4fa1d8 100644
28 --- a/a.c
29 +++ b/a.c
30 @@ -18,5 +18,5 @@ long f(long x)
31 int main ()
32 {
33 printf("%ld\n", f(15));
34 return 0;
35 -}
36 +}
37 \ No newline at end of file
38
39 commit ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f
40 Author: Thomas Rast <trast@student.ethz.ch>
41 Date: Thu Feb 28 10:45:16 2013 +0100
42
43 touch both functions
44
45 diff --git a/a.c b/a.c
46 index 7a296b9..75c0119 100644
47 --- a/a.c
48 +++ b/a.c
49 @@ -3,9 +3,9 @@
50 -int f(int x)
51 +long f(long x)
52 {
53 int s = 0;
54 while (x) {
55 x >>= 1;
56 s++;
57 }
58 return s;
59 }
60 @@ -17,5 +17,5 @@
61 int main ()
62 {
63 - printf("%d\n", f(15));
64 + printf("%ld\n", f(15));
65 return 0;
66 }
67
68 commit f6434acd34260a6c9f61e96d96bf9a323d330561df5b1ca2631104f82026dfed
69 Author: Thomas Rast <trast@student.ethz.ch>
70 Date: Thu Feb 28 10:44:55 2013 +0100
71
72 change f()
73
74 diff --git a/a.c b/a.c
75 index 9f550c3..7a296b9 100644
76 --- a/a.c
77 +++ b/a.c
78 @@ -3,8 +3,9 @@
79 int f(int x)
80 {
81 int s = 0;
82 while (x) {
83 x >>= 1;
84 s++;
85 }
86 + return s;
87 }
88
89 commit 1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592
90 Author: Thomas Rast <trast@student.ethz.ch>
91 Date: Thu Feb 28 10:44:48 2013 +0100
92
93 initial
94
95 diff --git a/a.c b/a.c
96 new file mode 100644
97 index 0000000..9f550c3
98 --- /dev/null
99 +++ b/a.c
100 @@ -0,0 +3,8 @@
101 +int f(int x)
102 +{
103 + int s = 0;
104 + while (x) {
105 + x >>= 1;
106 + s++;
107 + }
108 +}
109 @@ -0,0 +16,5 @@
110 +int main ()
111 +{
112 + printf("%d\n", f(15));
113 + return 0;
114 +}