Check-in [3f706b92a5]
Not logged in
Overview

SHA1 Hash:3f706b92a55c53ad3a19ffa9a5ba51e0103976de
Date: 2008-06-06 20:11:16
User: drh
Comment:Change the "omitsign" setting into "clearsign" and invert its sense.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/checkin.c from [34b5cd0ba4] to [2acc611eda].

@@ -348,10 +348,11 @@
   noSign = find_option("nosign","",0)!=0;
   zComment = find_option("comment","m",1);
   forceFlag = find_option("force", "f", 0)!=0;
   db_must_be_within_tree();
   noSign = db_get_boolean("omitsign", 0)|noSign;
+  if( db_get_boolean("clearsign", 1)==0 ){ noSign = 1; }
   verify_all_options();
 
   /*
   ** Autosync if requested.
   */

Modified src/db.c from [c256ad6ad7] to [c9e7ddf532].

@@ -1113,12 +1113,13 @@
 **    localauth        If enabled, require that HTTP connections from
 **                     127.0.0.1 be authenticated by password.  If
 **                     false, all HTTP requests from localhost have
 **                     unrestricted access to the repository.
 **
-**    omitsign         When enabled, fossil will not attempt to sign any
-**                     commit with gpg. All commits will be unsigned.
+**    clearsign        When enabled (the default), fossil will attempt to
+**                     sign all commits with gpg.  When disabled, commits will
+**                     be unsigned.
 **
 **    pgp-command      Command used to clear-sign manifests at check-in.
 **                     The default is "gpg --clearsign -o ".
 **
 **    proxy            URL of the HTTP proxy.  If undefined or "off" then
@@ -1136,11 +1137,11 @@
     "autosync",
     "diff-command",
     "editor",
     "gdiff-command",
     "localauth",
-    "omitsign",
+    "clearsign",
     "pgp-command",
     "proxy",
     "web-browser",
   };
   int i;