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.no-assertion-error

96 lines · 1752 bytes Raw Blame History
1commit 0d8dcfc6b968e06a27d5215bad1fdde3de9d6235
2Author: Thomas Rast <trast@student.ethz.ch>
3Date: Thu Feb 28 10:50:24 2013 +0100
4
5 move within the file
6
7diff --git a/b.c b/b.c
8index bf79c2f..27c829c 100644
9--- a/b.c
10+++ b/b.c
11@@ -25,0 +18,9 @@
12+long f(long x)
13+{
14+ int s = 0;
15+ while (x) {
16+ x /= 2;
17+ s++;
18+ }
19+ return s;
20+}
21
22commit 4659538844daa2849b1a9e7d6fadb96fcd26fc83
23Author: Thomas Rast <trast@student.ethz.ch>
24Date: Thu Feb 28 10:48:43 2013 +0100
25
26 change back to complete line
27
28diff --git a/a.c b/a.c
29index 0b9cae5..5de3ea4 100644
30--- a/a.c
31+++ b/a.c
32@@ -18,5 +18,7 @@ long f(long x)
33 int main ()
34 {
35 printf("%ld\n", f(15));
36 return 0;
37-}
38\ No newline at end of file
39+}
40+
41+/* incomplete lines are bad! */
42
43commit 100b61a6f2f720f812620a9d10afb3a960ccb73c
44Author: Thomas Rast <trast@student.ethz.ch>
45Date: Thu Feb 28 10:48:10 2013 +0100
46
47 change to an incomplete line at end
48
49diff --git a/a.c b/a.c
50index 5e709a1..0b9cae5 100644
51--- a/a.c
52+++ b/a.c
53@@ -18,5 +18,5 @@ long f(long x)
54 int main ()
55 {
56 printf("%ld\n", f(15));
57 return 0;
58-}
59+}
60\ No newline at end of file
61
62commit a6eb82647d5d67f893da442f8f9375fd89a3b1e2
63Author: Thomas Rast <trast@student.ethz.ch>
64Date: Thu Feb 28 10:45:16 2013 +0100
65
66 touch both functions
67
68diff --git a/a.c b/a.c
69index 3233403..e51de13 100644
70--- a/a.c
71+++ b/a.c
72@@ -17,5 +17,5 @@ int f(int x)
73 int main ()
74 {
75- printf("%d\n", f(15));
76+ printf("%ld\n", f(15));
77 return 0;
78 }
79
80commit de4c48ae814792c02a49c4c3c0c757ae69c55f6a
81Author: Thomas Rast <trast@student.ethz.ch>
82Date: Thu Feb 28 10:44:48 2013 +0100
83
84 initial
85
86diff --git a/a.c b/a.c
87new file mode 100644
88index 0000000..444e415
89--- /dev/null
90+++ b/a.c
91@@ -0,0 +16,5 @@
92+int main ()
93+{
94+ printf("%d\n", f(15));
95+ return 0;
96+}