Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t4211/sha256/expect.simple-f # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t4211 / sha256 / expect.simple-f` 63 lines ยท 1063 bytes Raw Blame History 1 commit `ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f` 2 Author: Thomas Rast 3 Date: Thu Feb 28 10:45:16 2013 +0100 4 5 touch both functions 6 7 diff --git a/a.c b/a.c 8 index `7a296b9`..`75c0119` 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 23 commit `f6434acd34260a6c9f61e96d96bf9a323d330561df5b1ca2631104f82026dfed` 24 Author: Thomas Rast 25 Date: Thu Feb 28 10:44:55 2013 +0100 26 27 change f() 28 29 diff --git a/a.c b/a.c 30 index `9f550c3`..`7a296b9` 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 44 commit `1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592` 45 Author: Thomas Rast 46 Date: Thu Feb 28 10:44:48 2013 +0100 47 48 initial 49 50 diff --git a/a.c b/a.c 51 new file mode 100644 52 index `0000000`..`9f550c3` 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 +}