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-to-main # 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-to-main` 105 lines ยท 1561 bytes Raw Blame History 1 commit `5a1b3989063d55e71e7685efa3392f133385b4034bddde530dcb5090d8b8b8ca` 2 Author: Thomas Rast 3 Date: Thu Feb 28 10:45:41 2013 +0100 4 5 touch comment 6 7 diff --git a/a.c b/a.c 8 index `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 28 commit `ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f` 29 Author: Thomas Rast 30 Date: Thu Feb 28 10:45:16 2013 +0100 31 32 touch both functions 33 34 diff --git a/a.c b/a.c 35 index `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 55 commit `f6434acd34260a6c9f61e96d96bf9a323d330561df5b1ca2631104f82026dfed` 56 Author: Thomas Rast 57 Date: Thu Feb 28 10:44:55 2013 +0100 58 59 change f() 60 61 diff --git a/a.c b/a.c 62 index `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 81 commit `1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592` 82 Author: Thomas Rast 83 Date: Thu Feb 28 10:44:48 2013 +0100 84 85 initial 86 87 diff --git a/a.c b/a.c 88 new file mode 100644 89 index `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 +