Fossil SCM
Change the "omitsign" setting into "clearsign" and invert its sense.
Commit
3f706b92a55c53ad3a19ffa9a5ba51e0103976de
Parent
417e7662e5232e5…
2 files changed
+1
+4
-3
+1
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -348,10 +348,11 @@ | ||
| 348 | 348 | noSign = find_option("nosign","",0)!=0; |
| 349 | 349 | zComment = find_option("comment","m",1); |
| 350 | 350 | forceFlag = find_option("force", "f", 0)!=0; |
| 351 | 351 | db_must_be_within_tree(); |
| 352 | 352 | noSign = db_get_boolean("omitsign", 0)|noSign; |
| 353 | + if( db_get_boolean("clearsign", 1)==0 ){ noSign = 1; } | |
| 353 | 354 | verify_all_options(); |
| 354 | 355 | |
| 355 | 356 | /* |
| 356 | 357 | ** Autosync if requested. |
| 357 | 358 | */ |
| 358 | 359 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -348,10 +348,11 @@ | |
| 348 | noSign = find_option("nosign","",0)!=0; |
| 349 | zComment = find_option("comment","m",1); |
| 350 | forceFlag = find_option("force", "f", 0)!=0; |
| 351 | db_must_be_within_tree(); |
| 352 | noSign = db_get_boolean("omitsign", 0)|noSign; |
| 353 | verify_all_options(); |
| 354 | |
| 355 | /* |
| 356 | ** Autosync if requested. |
| 357 | */ |
| 358 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -348,10 +348,11 @@ | |
| 348 | noSign = find_option("nosign","",0)!=0; |
| 349 | zComment = find_option("comment","m",1); |
| 350 | forceFlag = find_option("force", "f", 0)!=0; |
| 351 | db_must_be_within_tree(); |
| 352 | noSign = db_get_boolean("omitsign", 0)|noSign; |
| 353 | if( db_get_boolean("clearsign", 1)==0 ){ noSign = 1; } |
| 354 | verify_all_options(); |
| 355 | |
| 356 | /* |
| 357 | ** Autosync if requested. |
| 358 | */ |
| 359 |
M
src/db.c
+4
-3
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1113,12 +1113,13 @@ | ||
| 1113 | 1113 | ** localauth If enabled, require that HTTP connections from |
| 1114 | 1114 | ** 127.0.0.1 be authenticated by password. If |
| 1115 | 1115 | ** false, all HTTP requests from localhost have |
| 1116 | 1116 | ** unrestricted access to the repository. |
| 1117 | 1117 | ** |
| 1118 | -** omitsign When enabled, fossil will not attempt to sign any | |
| 1119 | -** commit with gpg. All commits will be unsigned. | |
| 1118 | +** clearsign When enabled (the default), fossil will attempt to | |
| 1119 | +** sign all commits with gpg. When disabled, commits will | |
| 1120 | +** be unsigned. | |
| 1120 | 1121 | ** |
| 1121 | 1122 | ** pgp-command Command used to clear-sign manifests at check-in. |
| 1122 | 1123 | ** The default is "gpg --clearsign -o ". |
| 1123 | 1124 | ** |
| 1124 | 1125 | ** proxy URL of the HTTP proxy. If undefined or "off" then |
| @@ -1136,11 +1137,11 @@ | ||
| 1136 | 1137 | "autosync", |
| 1137 | 1138 | "diff-command", |
| 1138 | 1139 | "editor", |
| 1139 | 1140 | "gdiff-command", |
| 1140 | 1141 | "localauth", |
| 1141 | - "omitsign", | |
| 1142 | + "clearsign", | |
| 1142 | 1143 | "pgp-command", |
| 1143 | 1144 | "proxy", |
| 1144 | 1145 | "web-browser", |
| 1145 | 1146 | }; |
| 1146 | 1147 | int i; |
| 1147 | 1148 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1113,12 +1113,13 @@ | |
| 1113 | ** localauth If enabled, require that HTTP connections from |
| 1114 | ** 127.0.0.1 be authenticated by password. If |
| 1115 | ** false, all HTTP requests from localhost have |
| 1116 | ** unrestricted access to the repository. |
| 1117 | ** |
| 1118 | ** omitsign When enabled, fossil will not attempt to sign any |
| 1119 | ** commit with gpg. All commits will be unsigned. |
| 1120 | ** |
| 1121 | ** pgp-command Command used to clear-sign manifests at check-in. |
| 1122 | ** The default is "gpg --clearsign -o ". |
| 1123 | ** |
| 1124 | ** proxy URL of the HTTP proxy. If undefined or "off" then |
| @@ -1136,11 +1137,11 @@ | |
| 1136 | "autosync", |
| 1137 | "diff-command", |
| 1138 | "editor", |
| 1139 | "gdiff-command", |
| 1140 | "localauth", |
| 1141 | "omitsign", |
| 1142 | "pgp-command", |
| 1143 | "proxy", |
| 1144 | "web-browser", |
| 1145 | }; |
| 1146 | int i; |
| 1147 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1113,12 +1113,13 @@ | |
| 1113 | ** localauth If enabled, require that HTTP connections from |
| 1114 | ** 127.0.0.1 be authenticated by password. If |
| 1115 | ** false, all HTTP requests from localhost have |
| 1116 | ** unrestricted access to the repository. |
| 1117 | ** |
| 1118 | ** clearsign When enabled (the default), fossil will attempt to |
| 1119 | ** sign all commits with gpg. When disabled, commits will |
| 1120 | ** be unsigned. |
| 1121 | ** |
| 1122 | ** pgp-command Command used to clear-sign manifests at check-in. |
| 1123 | ** The default is "gpg --clearsign -o ". |
| 1124 | ** |
| 1125 | ** proxy URL of the HTTP proxy. If undefined or "off" then |
| @@ -1136,11 +1137,11 @@ | |
| 1137 | "autosync", |
| 1138 | "diff-command", |
| 1139 | "editor", |
| 1140 | "gdiff-command", |
| 1141 | "localauth", |
| 1142 | "clearsign", |
| 1143 | "pgp-command", |
| 1144 | "proxy", |
| 1145 | "web-browser", |
| 1146 | }; |
| 1147 | int i; |
| 1148 |