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.two-ranges

114 lines · 2013 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,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
20commit 29f32ac3141c48b22803e5c4127b719917b67d0f8ca8c5248bebfa2a19f7da10
21Author: Thomas Rast <trast@student.ethz.ch>
22Date: Thu Feb 28 10:48:10 2013 +0100
23
24 change to an incomplete line at end
25
26diff --git a/a.c b/a.c
27index 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
39commit ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f
40Author: Thomas Rast <trast@student.ethz.ch>
41Date: Thu Feb 28 10:45:16 2013 +0100
42
43 touch both functions
44
45diff --git a/a.c b/a.c
46index 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
68commit f6434acd34260a6c9f61e96d96bf9a323d330561df5b1ca2631104f82026dfed
69Author: Thomas Rast <trast@student.ethz.ch>
70Date: Thu Feb 28 10:44:55 2013 +0100
71
72 change f()
73
74diff --git a/a.c b/a.c
75index 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
89commit 1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592
90Author: Thomas Rast <trast@student.ethz.ch>
91Date: Thu Feb 28 10:44:48 2013 +0100
92
93 initial
94
95diff --git a/a.c b/a.c
96new file mode 100644
97index 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+}