Fossil SCM

Minor internal doc tweaks. No code changes.

stephan 2021-08-23 02:40 trunk
Commit 49071226680eae694d77b5b92de64ec3f5abaf66fb29dc72d13bfa4edf2097df
2 files changed +4 +1 -1
+4
--- src/diff.c
+++ src/diff.c
@@ -124,10 +124,14 @@
124124
** Count the number of lines in the input string. Include the last line
125125
** in the count even if it lacks the \n terminator. If an empty string
126126
** is specified, the number of lines is zero. For the purposes of this
127127
** function, a string is considered empty if it contains no characters
128128
** -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.
129133
*/
130134
int count_lines(
131135
const char *z,
132136
int n,
133137
int *pnLine
134138
--- 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 @@
23612361
url_add_parameter(&url, "ci", zCI); /* no-op if zCI is NULL */
23622362
23632363
if( zCI==0 && !isFile ){
23642364
/* If there is no ci= query parameter, then prefer to interpret
23652365
** 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
23672367
** "tip" value for ci=. */
23682368
rid = name_to_rid(zName);
23692369
}
23702370
if( rid==0 ){
23712371
rid = artifact_from_ci_and_filename(0);
23722372
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button