]> git.ipfire.org Git - thirdparty/git.git/blob - t/t4211/sha256/expect.two-ranges
Sync with 2.25.5
[thirdparty/git.git] / t / t4211 / sha256 / expect.two-ranges
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 --- a/a.c
9 +++ b/a.c
10 @@ -18,5 +18,5 @@
11 int main ()
12 {
13 printf("%ld\n", f(15));
14 return 0;
15 -}
16 \ No newline at end of file
17 +}
18
19 commit 29f32ac3141c48b22803e5c4127b719917b67d0f8ca8c5248bebfa2a19f7da10
20 Author: Thomas Rast <trast@student.ethz.ch>
21 Date: Thu Feb 28 10:48:10 2013 +0100
22
23 change to an incomplete line at end
24
25 diff --git a/a.c b/a.c
26 --- a/a.c
27 +++ b/a.c
28 @@ -18,5 +18,5 @@
29 int main ()
30 {
31 printf("%ld\n", f(15));
32 return 0;
33 -}
34 +}
35 \ No newline at end of file
36
37 commit ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f
38 Author: Thomas Rast <trast@student.ethz.ch>
39 Date: Thu Feb 28 10:45:16 2013 +0100
40
41 touch both functions
42
43 diff --git a/a.c b/a.c
44 --- a/a.c
45 +++ b/a.c
46 @@ -3,9 +3,9 @@
47 -int f(int x)
48 +long f(long x)
49 {
50 int s = 0;
51 while (x) {
52 x >>= 1;
53 s++;
54 }
55 return s;
56 }
57 @@ -17,5 +17,5 @@
58 int main ()
59 {
60 - printf("%d\n", f(15));
61 + printf("%ld\n", f(15));
62 return 0;
63 }
64
65 commit f6434acd34260a6c9f61e96d96bf9a323d330561df5b1ca2631104f82026dfed
66 Author: Thomas Rast <trast@student.ethz.ch>
67 Date: Thu Feb 28 10:44:55 2013 +0100
68
69 change f()
70
71 diff --git a/a.c b/a.c
72 --- a/a.c
73 +++ b/a.c
74 @@ -3,8 +3,9 @@
75 int f(int x)
76 {
77 int s = 0;
78 while (x) {
79 x >>= 1;
80 s++;
81 }
82 + return s;
83 }
84
85 commit 1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592
86 Author: Thomas Rast <trast@student.ethz.ch>
87 Date: Thu Feb 28 10:44:48 2013 +0100
88
89 initial
90
91 diff --git a/a.c b/a.c
92 --- /dev/null
93 +++ b/a.c
94 @@ -0,0 +3,8 @@
95 +int f(int x)
96 +{
97 + int s = 0;
98 + while (x) {
99 + x >>= 1;
100 + s++;
101 + }
102 +}