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.simple-f-to-main

105 lines · 1561 bytes Raw Blame History
1commit 5a1b3989063d55e71e7685efa3392f133385b4034bddde530dcb5090d8b8b8ca
2Author: Thomas Rast <trast@student.ethz.ch>
3Date: Thu Feb 28 10:45:41 2013 +0100
4
5 touch comment
6
7diff --git a/a.c b/a.c
8index 75c0119..3a78aaf 100644
9--- a/a.c
10+++ b/a.c
11@@ -3,14 +3,14 @@
12 long f(long x)
13 {
14 int s = 0;
15 while (x) {
16 x >>= 1;
17 s++;
18 }
19 return s;
20 }
21
22 /*
23- * A comment.
24+ * This is only an example!
25 */
26
27
28commit ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f
29Author: Thomas Rast <trast@student.ethz.ch>
30Date: Thu Feb 28 10:45:16 2013 +0100
31
32 touch both functions
33
34diff --git a/a.c b/a.c
35index 7a296b9..75c0119 100644
36--- a/a.c
37+++ b/a.c
38@@ -3,14 +3,14 @@
39-int f(int x)
40+long f(long x)
41 {
42 int s = 0;
43 while (x) {
44 x >>= 1;
45 s++;
46 }
47 return s;
48 }
49
50 /*
51 * A comment.
52 */
53
54
55commit f6434acd34260a6c9f61e96d96bf9a323d330561df5b1ca2631104f82026dfed
56Author: Thomas Rast <trast@student.ethz.ch>
57Date: Thu Feb 28 10:44:55 2013 +0100
58
59 change f()
60
61diff --git a/a.c b/a.c
62index 9f550c3..7a296b9 100644
63--- a/a.c
64+++ b/a.c
65@@ -3,13 +3,14 @@
66 int f(int x)
67 {
68 int s = 0;
69 while (x) {
70 x >>= 1;
71 s++;
72 }
73+ return s;
74 }
75
76 /*
77 * A comment.
78 */
79
80
81commit 1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592
82Author: Thomas Rast <trast@student.ethz.ch>
83Date: Thu Feb 28 10:44:48 2013 +0100
84
85 initial
86
87diff --git a/a.c b/a.c
88new file mode 100644
89index 0000000..9f550c3
90--- /dev/null
91+++ b/a.c
92@@ -0,0 +3,13 @@
93+int f(int x)
94+{
95+ int s = 0;
96+ while (x) {
97+ x >>= 1;
98+ s++;
99+ }
100+}
101+
102+/*
103+ * A comment.
104+ */
105+