|
| 1 | +commit eb871b8aa9aff323e484723039c9a92ab0266e060bc0ef2afb08fadda25c5ace |
| 2 | +Author: Thomas Rast < [email protected]> |
| 3 | +Date: Thu Feb 28 10:50:24 2013 +0100 |
| 4 | + |
| 5 | + move within the file |
| 6 | + |
| 7 | +diff --git a/b.c b/b.c |
| 8 | +--- a/b.c |
| 9 | ++++ b/b.c |
| 10 | +@@ -25,0 +18,9 @@ |
| 11 | ++long f(long x) |
| 12 | ++{ |
| 13 | ++ int s = 0; |
| 14 | ++ while (x) { |
| 15 | ++ x /= 2; |
| 16 | ++ s++; |
| 17 | ++ } |
| 18 | ++ return s; |
| 19 | ++} |
| 20 | + |
| 21 | +commit 5526ed05c2476b56af8b7be499e8f78bd50f490740733a9ca7e1f55878fa90a9 |
| 22 | +Author: Thomas Rast < [email protected]> |
| 23 | +Date: Thu Feb 28 10:48:43 2013 +0100 |
| 24 | + |
| 25 | + change back to complete line |
| 26 | + |
| 27 | +diff --git a/a.c b/a.c |
| 28 | +--- a/a.c |
| 29 | ++++ b/a.c |
| 30 | +@@ -18,5 +18,7 @@ |
| 31 | + int main () |
| 32 | + { |
| 33 | + printf("%ld\n", f(15)); |
| 34 | + return 0; |
| 35 | +-} |
| 36 | +\ No newline at end of file |
| 37 | ++} |
| 38 | ++ |
| 39 | ++/* incomplete lines are bad! */ |
| 40 | + |
| 41 | +commit 29f32ac3141c48b22803e5c4127b719917b67d0f8ca8c5248bebfa2a19f7da10 |
| 42 | +Author: Thomas Rast < [email protected]> |
| 43 | +Date: Thu Feb 28 10:48:10 2013 +0100 |
| 44 | + |
| 45 | + change to an incomplete line at end |
| 46 | + |
| 47 | +diff --git a/a.c b/a.c |
| 48 | +--- a/a.c |
| 49 | ++++ b/a.c |
| 50 | +@@ -18,5 +18,5 @@ |
| 51 | + int main () |
| 52 | + { |
| 53 | + printf("%ld\n", f(15)); |
| 54 | + return 0; |
| 55 | +-} |
| 56 | ++} |
| 57 | +\ No newline at end of file |
| 58 | + |
| 59 | +commit ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f |
| 60 | +Author: Thomas Rast < [email protected]> |
| 61 | +Date: Thu Feb 28 10:45:16 2013 +0100 |
| 62 | + |
| 63 | + touch both functions |
| 64 | + |
| 65 | +diff --git a/a.c b/a.c |
| 66 | +--- a/a.c |
| 67 | ++++ b/a.c |
| 68 | +@@ -17,5 +17,5 @@ |
| 69 | + int main () |
| 70 | + { |
| 71 | +- printf("%d\n", f(15)); |
| 72 | ++ printf("%ld\n", f(15)); |
| 73 | + return 0; |
| 74 | + } |
| 75 | + |
| 76 | +commit 1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592 |
| 77 | +Author: Thomas Rast < [email protected]> |
| 78 | +Date: Thu Feb 28 10:44:48 2013 +0100 |
| 79 | + |
| 80 | + initial |
| 81 | + |
| 82 | +diff --git a/a.c b/a.c |
| 83 | +--- /dev/null |
| 84 | ++++ b/a.c |
| 85 | +@@ -0,0 +16,5 @@ |
| 86 | ++int main () |
| 87 | ++{ |
| 88 | ++ printf("%d\n", f(15)); |
| 89 | ++ return 0; |
| 90 | ++} |
0 commit comments