Fossil SCM

Change the "omitsign" setting into "clearsign" and invert its sense.

drh 2008-06-06 20:11 trunk
Commit 3f706b92a55c53ad3a19ffa9a5ba51e0103976de
2 files changed +1 +4 -3
--- src/checkin.c
+++ src/checkin.c
@@ -348,10 +348,11 @@
348348
noSign = find_option("nosign","",0)!=0;
349349
zComment = find_option("comment","m",1);
350350
forceFlag = find_option("force", "f", 0)!=0;
351351
db_must_be_within_tree();
352352
noSign = db_get_boolean("omitsign", 0)|noSign;
353
+ if( db_get_boolean("clearsign", 1)==0 ){ noSign = 1; }
353354
verify_all_options();
354355
355356
/*
356357
** Autosync if requested.
357358
*/
358359
--- 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
+4 -3
--- src/db.c
+++ src/db.c
@@ -1113,12 +1113,13 @@
11131113
** localauth If enabled, require that HTTP connections from
11141114
** 127.0.0.1 be authenticated by password. If
11151115
** false, all HTTP requests from localhost have
11161116
** unrestricted access to the repository.
11171117
**
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.
11201121
**
11211122
** pgp-command Command used to clear-sign manifests at check-in.
11221123
** The default is "gpg --clearsign -o ".
11231124
**
11241125
** proxy URL of the HTTP proxy. If undefined or "off" then
@@ -1136,11 +1137,11 @@
11361137
"autosync",
11371138
"diff-command",
11381139
"editor",
11391140
"gdiff-command",
11401141
"localauth",
1141
- "omitsign",
1142
+ "clearsign",
11421143
"pgp-command",
11431144
"proxy",
11441145
"web-browser",
11451146
};
11461147
int i;
11471148
--- 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

Keyboard Shortcuts

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