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/sha1/expect.two-ranges # 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 / sha1 / expect.two-ranges` 114 lines ยท 1893 bytes Raw Blame History 1 commit `4659538844daa2849b1a9e7d6fadb96fcd26fc83` 2 Author: Thomas Rast 3 Date: Thu Feb 28 10:48:43 2013 +0100 4 5 change back to complete line 6 7 diff --git a/a.c b/a.c 8 index `0b9cae5`..`5de3ea4` 100644 9 --- a/a.c 10 +++ b/a.c 11 @@ -18,5 +18,5 @@ long f(long x) 12 int main () 13 { 14 printf("%ld\n", f(15)); 15 return 0; 16 -} 17 \ No newline at end of file 18 +} 19 20 commit `100b61a6f2f720f812620a9d10afb3a960ccb73c` 21 Author: Thomas Rast 22 Date: Thu Feb 28 10:48:10 2013 +0100 23 24 change to an incomplete line at end 25 26 diff --git a/a.c b/a.c 27 index `5e709a1`..`0b9cae5` 100644 28 --- a/a.c 29 +++ b/a.c 30 @@ -18,5 +18,5 @@ long f(long x) 31 int main () 32 { 33 printf("%ld\n", f(15)); 34 return 0; 35 -} 36 +} 37 \ No newline at end of file 38 39 commit `a6eb82647d5d67f893da442f8f9375fd89a3b1e2` 40 Author: Thomas Rast 41 Date: Thu Feb 28 10:45:16 2013 +0100 42 43 touch both functions 44 45 diff --git a/a.c b/a.c 46 index `3233403`..`e51de13` 100644 47 --- a/a.c 48 +++ b/a.c 49 @@ -3,9 +3,9 @@ 50 -int f(int x) 51 +long f(long x) 52 { 53 int s = 0; 54 while (x) { 55 x >>= 1; 56 s++; 57 } 58 return s; 59 } 60 @@ -17,5 +17,5 @@ 61 int main () 62 { 63 - printf("%d\n", f(15)); 64 + printf("%ld\n", f(15)); 65 return 0; 66 } 67 68 commit `f04fb20f2c77850996cba739709acc6faecc58f7` 69 Author: Thomas Rast 70 Date: Thu Feb 28 10:44:55 2013 +0100 71 72 change f() 73 74 diff --git a/a.c b/a.c 75 index `444e415`..`3233403` 100644 76 --- a/a.c 77 +++ b/a.c 78 @@ -3,8 +3,9 @@ 79 int f(int x) 80 { 81 int s = 0; 82 while (x) { 83 x >>= 1; 84 s++; 85 } 86 + return s; 87 } 88 89 commit `de4c48ae814792c02a49c4c3c0c757ae69c55f6a` 90 Author: Thomas Rast 91 Date: Thu Feb 28 10:44:48 2013 +0100 92 93 initial 94 95 diff --git a/a.c b/a.c 96 new file mode 100644 97 index `0000000`..`444e415` 98 --- /dev/null 99 +++ b/a.c 100 @@ -0,0 +3,8 @@ 101 +int f(int x) 102 +{ 103 + int s = 0; 104 + while (x) { 105 + x >>= 1; 106 + s++; 107 + } 108 +} 109 @@ -0,0 +16,5 @@ 110 +int main () 111 +{ 112 + printf("%d\n", f(15)); 113 + return 0; 114 +}