Fossil SCM

Fix two identical help text typos reported in [forum:1f641ab8dd|forum post 1f641ab8dd].

stephan 2025-01-23 20:19 trunk
Commit 277437dd59b0ec615da84539541371ade5929c259964e8418dd3c67f0b61e0dc
2 files changed +1 -1 +1 -1
+1 -1
--- src/hook.c
+++ src/hook.c
@@ -233,11 +233,11 @@
233233
** Run the hook script given by ID for testing purposes.
234234
** Options:
235235
**
236236
** --dry-run Print the script on stdout rather than run it
237237
** --base-rcvid N Pretend that the hook-last-rcvid value is N
238
-** --new-rcvid M Pretend that the last rcvid valud is M
238
+** --new-rcvid M Pretend that the last rcvid value is M
239239
** --aux-file NAME NAME is substituted for %A in the script
240240
**
241241
** The --base-rcvid and --new-rcvid options are silently ignored if
242242
** the hook type is not "after-receive". The default values for
243243
** --base-rcvid and --new-rcvid cause the last receive to be processed.
244244
--- src/hook.c
+++ src/hook.c
@@ -233,11 +233,11 @@
233 ** Run the hook script given by ID for testing purposes.
234 ** Options:
235 **
236 ** --dry-run Print the script on stdout rather than run it
237 ** --base-rcvid N Pretend that the hook-last-rcvid value is N
238 ** --new-rcvid M Pretend that the last rcvid valud is M
239 ** --aux-file NAME NAME is substituted for %A in the script
240 **
241 ** The --base-rcvid and --new-rcvid options are silently ignored if
242 ** the hook type is not "after-receive". The default values for
243 ** --base-rcvid and --new-rcvid cause the last receive to be processed.
244
--- src/hook.c
+++ src/hook.c
@@ -233,11 +233,11 @@
233 ** Run the hook script given by ID for testing purposes.
234 ** Options:
235 **
236 ** --dry-run Print the script on stdout rather than run it
237 ** --base-rcvid N Pretend that the hook-last-rcvid value is N
238 ** --new-rcvid M Pretend that the last rcvid value is M
239 ** --aux-file NAME NAME is substituted for %A in the script
240 **
241 ** The --base-rcvid and --new-rcvid options are silently ignored if
242 ** the hook type is not "after-receive". The default values for
243 ** --base-rcvid and --new-rcvid cause the last receive to be processed.
244
+1 -1
--- src/main.c
+++ src/main.c
@@ -1635,11 +1635,11 @@
16351635
16361636
/*
16371637
** Return true if it is appropriate to redirect requests to HTTPS.
16381638
**
16391639
** Redirect to https is appropriate if all of the above are true:
1640
-** (1) The redirect-to-https flag has a valud of iLevel or greater.
1640
+** (1) The redirect-to-https flag has a value of iLevel or greater.
16411641
** (2) The current connection is http, not https or ssh
16421642
** (3) The sslNotAvailable flag is clear
16431643
*/
16441644
int fossil_wants_https(int iLevel){
16451645
if( g.sslNotAvailable ) return 0;
16461646
--- src/main.c
+++ src/main.c
@@ -1635,11 +1635,11 @@
1635
1636 /*
1637 ** Return true if it is appropriate to redirect requests to HTTPS.
1638 **
1639 ** Redirect to https is appropriate if all of the above are true:
1640 ** (1) The redirect-to-https flag has a valud of iLevel or greater.
1641 ** (2) The current connection is http, not https or ssh
1642 ** (3) The sslNotAvailable flag is clear
1643 */
1644 int fossil_wants_https(int iLevel){
1645 if( g.sslNotAvailable ) return 0;
1646
--- src/main.c
+++ src/main.c
@@ -1635,11 +1635,11 @@
1635
1636 /*
1637 ** Return true if it is appropriate to redirect requests to HTTPS.
1638 **
1639 ** Redirect to https is appropriate if all of the above are true:
1640 ** (1) The redirect-to-https flag has a value of iLevel or greater.
1641 ** (2) The current connection is http, not https or ssh
1642 ** (3) The sslNotAvailable flag is clear
1643 */
1644 int fossil_wants_https(int iLevel){
1645 if( g.sslNotAvailable ) return 0;
1646

Keyboard Shortcuts

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