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 / sha1 / expect.two-ranges

114 lines · 1893 bytes Raw Blame History
1commit 4659538844daa2849b1a9e7d6fadb96fcd26fc83
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 0b9cae5..5de3ea4 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 100b61a6f2f720f812620a9d10afb3a960ccb73c
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 5e709a1..0b9cae5 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 a6eb82647d5d67f893da442f8f9375fd89a3b1e2
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 3233403..e51de13 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 f04fb20f2c77850996cba739709acc6faecc58f7
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 444e415..3233403 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 de4c48ae814792c02a49c4c3c0c757ae69c55f6a
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..444e415
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+}