Fossil SCM
Minor internal doc tweaks. No code changes.
Commit
49071226680eae694d77b5b92de64ec3f5abaf66fb29dc72d13bfa4edf2097df
Parent
edd280c3b6f216b…
2 files changed
+4
+1
-1
+4
| --- src/diff.c | ||
| +++ src/diff.c | ||
| @@ -124,10 +124,14 @@ | ||
| 124 | 124 | ** Count the number of lines in the input string. Include the last line |
| 125 | 125 | ** in the count even if it lacks the \n terminator. If an empty string |
| 126 | 126 | ** is specified, the number of lines is zero. For the purposes of this |
| 127 | 127 | ** function, a string is considered empty if it contains no characters |
| 128 | 128 | ** -OR- it contains only NUL characters. |
| 129 | +** | |
| 130 | +** Returns true if the input seems to be plain text input, else false. | |
| 131 | +** If it returns false, pnLine is not modified, else it is set to the | |
| 132 | +** number of lines in z. | |
| 129 | 133 | */ |
| 130 | 134 | int count_lines( |
| 131 | 135 | const char *z, |
| 132 | 136 | int n, |
| 133 | 137 | int *pnLine |
| 134 | 138 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -124,10 +124,14 @@ | |
| 124 | ** Count the number of lines in the input string. Include the last line |
| 125 | ** in the count even if it lacks the \n terminator. If an empty string |
| 126 | ** is specified, the number of lines is zero. For the purposes of this |
| 127 | ** function, a string is considered empty if it contains no characters |
| 128 | ** -OR- it contains only NUL characters. |
| 129 | */ |
| 130 | int count_lines( |
| 131 | const char *z, |
| 132 | int n, |
| 133 | int *pnLine |
| 134 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -124,10 +124,14 @@ | |
| 124 | ** Count the number of lines in the input string. Include the last line |
| 125 | ** in the count even if it lacks the \n terminator. If an empty string |
| 126 | ** is specified, the number of lines is zero. For the purposes of this |
| 127 | ** function, a string is considered empty if it contains no characters |
| 128 | ** -OR- it contains only NUL characters. |
| 129 | ** |
| 130 | ** Returns true if the input seems to be plain text input, else false. |
| 131 | ** If it returns false, pnLine is not modified, else it is set to the |
| 132 | ** number of lines in z. |
| 133 | */ |
| 134 | int count_lines( |
| 135 | const char *z, |
| 136 | int n, |
| 137 | int *pnLine |
| 138 |
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2361,11 +2361,11 @@ | ||
| 2361 | 2361 | url_add_parameter(&url, "ci", zCI); /* no-op if zCI is NULL */ |
| 2362 | 2362 | |
| 2363 | 2363 | if( zCI==0 && !isFile ){ |
| 2364 | 2364 | /* If there is no ci= query parameter, then prefer to interpret |
| 2365 | 2365 | ** name= as a hash for /artifact and /whatis. But for not for /file. |
| 2366 | - ** For /file, a name= without a ci= while prefer to use the default | |
| 2366 | + ** For /file, a name= without a ci= will prefer to use the default | |
| 2367 | 2367 | ** "tip" value for ci=. */ |
| 2368 | 2368 | rid = name_to_rid(zName); |
| 2369 | 2369 | } |
| 2370 | 2370 | if( rid==0 ){ |
| 2371 | 2371 | rid = artifact_from_ci_and_filename(0); |
| 2372 | 2372 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2361,11 +2361,11 @@ | |
| 2361 | url_add_parameter(&url, "ci", zCI); /* no-op if zCI is NULL */ |
| 2362 | |
| 2363 | if( zCI==0 && !isFile ){ |
| 2364 | /* If there is no ci= query parameter, then prefer to interpret |
| 2365 | ** name= as a hash for /artifact and /whatis. But for not for /file. |
| 2366 | ** For /file, a name= without a ci= while prefer to use the default |
| 2367 | ** "tip" value for ci=. */ |
| 2368 | rid = name_to_rid(zName); |
| 2369 | } |
| 2370 | if( rid==0 ){ |
| 2371 | rid = artifact_from_ci_and_filename(0); |
| 2372 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2361,11 +2361,11 @@ | |
| 2361 | url_add_parameter(&url, "ci", zCI); /* no-op if zCI is NULL */ |
| 2362 | |
| 2363 | if( zCI==0 && !isFile ){ |
| 2364 | /* If there is no ci= query parameter, then prefer to interpret |
| 2365 | ** name= as a hash for /artifact and /whatis. But for not for /file. |
| 2366 | ** For /file, a name= without a ci= will prefer to use the default |
| 2367 | ** "tip" value for ci=. */ |
| 2368 | rid = name_to_rid(zName); |
| 2369 | } |
| 2370 | if( rid==0 ){ |
| 2371 | rid = artifact_from_ci_and_filename(0); |
| 2372 |