Fossil SCM

Typo fixes.

danield 2025-03-18 20:24 trunk
Commit 478a0fa79cacdd166f8c0ee26a7f66b1cdc8a28656cfc9517244e28b2ec76082
1 file changed +9 -9
+9 -9
--- src/checkin.c
+++ src/checkin.c
@@ -2285,41 +2285,41 @@
22852285
}
22862286
22872287
/*
22882288
** SETTING: verify-comments width=8 default=on show-only-if-changed
22892289
**
2290
-** This setting determines much sanity checking, if any, the
2290
+** This setting determines how much sanity checking, if any, the
22912291
** "fossil commit" and "fossil amend" commands do against check-in
22922292
** comments. Recognized values:
22932293
**
22942294
** on (Default) Check for bad syntax in check-in comments
22952295
** and offer the user a chance to continue editing for
22962296
** interactive sessions, or simply abort the commit if
2297
-** commit was entered using using -m or -M
2297
+** commit was entered using -m or -M
22982298
**
2299
-** off Do not syntax checking of any kind
2299
+** off Do not do syntax checking of any kind
23002300
**
23012301
** links Similar to "on", except only check for bad hyperlinks
23022302
**
23032303
** preview Do all the same checks as "on" but also preview the
2304
-** checkin comment to the user during interactive sessions
2304
+** check-in comment to the user during interactive sessions
23052305
** and provide an opportunity to accept or re-edit
23062306
*/
23072307
23082308
#if INTERFACE
23092309
#define COMCK_LINKS 0x01 /* Check for back hyperlinks */
23102310
#define COMCK_MARKUP 0x02 /* Check markup */
2311
-#define COMCK_PREVIEW 0x04 /* Always preview even if no issues found */
2311
+#define COMCK_PREVIEW 0x04 /* Always preview, even if no issues found */
23122312
#define COMCK_NOPREVIEW 0x08 /* Never preview, even for other errors */
23132313
#endif /* INTERFACE */
23142314
23152315
/*
23162316
** Check for possible formatting errors in the comment string pComment.
23172317
**
23182318
** If concerns are found, write a description of the problem(s) to
2319
-** stdout return non-zero. The return value is some combination of
2320
-** of the COMCK_* flags depending on what went wrong.
2319
+** stdout and return non-zero. The return value is some combination
2320
+** of the COMCK_* flags, depending on what went wrong.
23212321
**
23222322
** If no issues are seen, do not output anything and return zero.
23232323
*/
23242324
static int suspicious_comment(Blob *pComment, int mFlags){
23252325
char *zStart = blob_str(pComment);
@@ -2738,11 +2738,11 @@
27382738
}
27392739
27402740
/* So that older versions of Fossil (that do not understand delta-
27412741
** manifest) can continue to use this repository, and because
27422742
** delta manifests are usually a bad idea unless the repository
2743
- ** as a really large number of files, do not create a new
2743
+ ** has a really large number of files, do not create a new
27442744
** delta-manifest unless this repository already contains one or more
27452745
** delta-manifests, or unless the delta-manifest is explicitly requested
27462746
** by the --delta option.
27472747
**
27482748
** The forbid-delta-manifests setting prevents new delta manifests,
@@ -2749,11 +2749,11 @@
27492749
** even if the --delta option is used.
27502750
**
27512751
** If the remote repository sent an avoid-delta-manifests pragma on
27522752
** the autosync above, then also forbid delta manifests, even if the
27532753
** --delta option is specified. The remote repo will send the
2754
- ** avoid-delta-manifests pragma if it has its "forbid-delta-manifests"
2754
+ ** avoid-delta-manifests pragma if its "forbid-delta-manifests"
27552755
** setting is enabled.
27562756
*/
27572757
if( !(forceDelta || db_get_boolean("seen-delta-manifest",0))
27582758
|| db_get_boolean("forbid-delta-manifests",0)
27592759
|| g.bAvoidDeltaManifests
27602760
--- src/checkin.c
+++ src/checkin.c
@@ -2285,41 +2285,41 @@
2285 }
2286
2287 /*
2288 ** SETTING: verify-comments width=8 default=on show-only-if-changed
2289 **
2290 ** This setting determines much sanity checking, if any, the
2291 ** "fossil commit" and "fossil amend" commands do against check-in
2292 ** comments. Recognized values:
2293 **
2294 ** on (Default) Check for bad syntax in check-in comments
2295 ** and offer the user a chance to continue editing for
2296 ** interactive sessions, or simply abort the commit if
2297 ** commit was entered using using -m or -M
2298 **
2299 ** off Do not syntax checking of any kind
2300 **
2301 ** links Similar to "on", except only check for bad hyperlinks
2302 **
2303 ** preview Do all the same checks as "on" but also preview the
2304 ** checkin comment to the user during interactive sessions
2305 ** and provide an opportunity to accept or re-edit
2306 */
2307
2308 #if INTERFACE
2309 #define COMCK_LINKS 0x01 /* Check for back hyperlinks */
2310 #define COMCK_MARKUP 0x02 /* Check markup */
2311 #define COMCK_PREVIEW 0x04 /* Always preview even if no issues found */
2312 #define COMCK_NOPREVIEW 0x08 /* Never preview, even for other errors */
2313 #endif /* INTERFACE */
2314
2315 /*
2316 ** Check for possible formatting errors in the comment string pComment.
2317 **
2318 ** If concerns are found, write a description of the problem(s) to
2319 ** stdout return non-zero. The return value is some combination of
2320 ** of the COMCK_* flags depending on what went wrong.
2321 **
2322 ** If no issues are seen, do not output anything and return zero.
2323 */
2324 static int suspicious_comment(Blob *pComment, int mFlags){
2325 char *zStart = blob_str(pComment);
@@ -2738,11 +2738,11 @@
2738 }
2739
2740 /* So that older versions of Fossil (that do not understand delta-
2741 ** manifest) can continue to use this repository, and because
2742 ** delta manifests are usually a bad idea unless the repository
2743 ** as a really large number of files, do not create a new
2744 ** delta-manifest unless this repository already contains one or more
2745 ** delta-manifests, or unless the delta-manifest is explicitly requested
2746 ** by the --delta option.
2747 **
2748 ** The forbid-delta-manifests setting prevents new delta manifests,
@@ -2749,11 +2749,11 @@
2749 ** even if the --delta option is used.
2750 **
2751 ** If the remote repository sent an avoid-delta-manifests pragma on
2752 ** the autosync above, then also forbid delta manifests, even if the
2753 ** --delta option is specified. The remote repo will send the
2754 ** avoid-delta-manifests pragma if it has its "forbid-delta-manifests"
2755 ** setting is enabled.
2756 */
2757 if( !(forceDelta || db_get_boolean("seen-delta-manifest",0))
2758 || db_get_boolean("forbid-delta-manifests",0)
2759 || g.bAvoidDeltaManifests
2760
--- src/checkin.c
+++ src/checkin.c
@@ -2285,41 +2285,41 @@
2285 }
2286
2287 /*
2288 ** SETTING: verify-comments width=8 default=on show-only-if-changed
2289 **
2290 ** This setting determines how much sanity checking, if any, the
2291 ** "fossil commit" and "fossil amend" commands do against check-in
2292 ** comments. Recognized values:
2293 **
2294 ** on (Default) Check for bad syntax in check-in comments
2295 ** and offer the user a chance to continue editing for
2296 ** interactive sessions, or simply abort the commit if
2297 ** commit was entered using -m or -M
2298 **
2299 ** off Do not do syntax checking of any kind
2300 **
2301 ** links Similar to "on", except only check for bad hyperlinks
2302 **
2303 ** preview Do all the same checks as "on" but also preview the
2304 ** check-in comment to the user during interactive sessions
2305 ** and provide an opportunity to accept or re-edit
2306 */
2307
2308 #if INTERFACE
2309 #define COMCK_LINKS 0x01 /* Check for back hyperlinks */
2310 #define COMCK_MARKUP 0x02 /* Check markup */
2311 #define COMCK_PREVIEW 0x04 /* Always preview, even if no issues found */
2312 #define COMCK_NOPREVIEW 0x08 /* Never preview, even for other errors */
2313 #endif /* INTERFACE */
2314
2315 /*
2316 ** Check for possible formatting errors in the comment string pComment.
2317 **
2318 ** If concerns are found, write a description of the problem(s) to
2319 ** stdout and return non-zero. The return value is some combination
2320 ** of the COMCK_* flags, depending on what went wrong.
2321 **
2322 ** If no issues are seen, do not output anything and return zero.
2323 */
2324 static int suspicious_comment(Blob *pComment, int mFlags){
2325 char *zStart = blob_str(pComment);
@@ -2738,11 +2738,11 @@
2738 }
2739
2740 /* So that older versions of Fossil (that do not understand delta-
2741 ** manifest) can continue to use this repository, and because
2742 ** delta manifests are usually a bad idea unless the repository
2743 ** has a really large number of files, do not create a new
2744 ** delta-manifest unless this repository already contains one or more
2745 ** delta-manifests, or unless the delta-manifest is explicitly requested
2746 ** by the --delta option.
2747 **
2748 ** The forbid-delta-manifests setting prevents new delta manifests,
@@ -2749,11 +2749,11 @@
2749 ** even if the --delta option is used.
2750 **
2751 ** If the remote repository sent an avoid-delta-manifests pragma on
2752 ** the autosync above, then also forbid delta manifests, even if the
2753 ** --delta option is specified. The remote repo will send the
2754 ** avoid-delta-manifests pragma if its "forbid-delta-manifests"
2755 ** setting is enabled.
2756 */
2757 if( !(forceDelta || db_get_boolean("seen-delta-manifest",0))
2758 || db_get_boolean("forbid-delta-manifests",0)
2759 || g.bAvoidDeltaManifests
2760

Keyboard Shortcuts

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