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

63 lines · 991 bytes Raw Blame History
1commit a6eb82647d5d67f893da442f8f9375fd89a3b1e2
2Author: Thomas Rast <trast@student.ethz.ch>
3Date: Thu Feb 28 10:45:16 2013 +0100
4
5 touch both functions
6
7diff --git a/a.c b/a.c
8index 3233403..e51de13 100644
9--- a/a.c
10+++ b/a.c
11@@ -3,9 +3,9 @@
12-int f(int x)
13+long f(long x)
14 {
15 int s = 0;
16 while (x) {
17 x >>= 1;
18 s++;
19 }
20 return s;
21 }
22
23commit f04fb20f2c77850996cba739709acc6faecc58f7
24Author: Thomas Rast <trast@student.ethz.ch>
25Date: Thu Feb 28 10:44:55 2013 +0100
26
27 change f()
28
29diff --git a/a.c b/a.c
30index 444e415..3233403 100644
31--- a/a.c
32+++ b/a.c
33@@ -3,8 +3,9 @@
34 int f(int x)
35 {
36 int s = 0;
37 while (x) {
38 x >>= 1;
39 s++;
40 }
41+ return s;
42 }
43
44commit de4c48ae814792c02a49c4c3c0c757ae69c55f6a
45Author: Thomas Rast <trast@student.ethz.ch>
46Date: Thu Feb 28 10:44:48 2013 +0100
47
48 initial
49
50diff --git a/a.c b/a.c
51new file mode 100644
52index 0000000..444e415
53--- /dev/null
54+++ b/a.c
55@@ -0,0 +3,8 @@
56+int f(int x)
57+{
58+ int s = 0;
59+ while (x) {
60+ x >>= 1;
61+ s++;
62+ }
63+}