| | @@ -757,11 +757,10 @@ |
| 757 | 757 | "INSERT INTO config(name,value)" |
| 758 | 758 | " VALUES('project-code', lower(hex(randomblob(20))));" |
| 759 | 759 | ); |
| 760 | 760 | } |
| 761 | 761 | if( !db_is_global("autosync") ) db_set_int("autosync", 1, 0); |
| 762 | | - if( !db_is_global("safemerge") ) db_set_int("safemerge", 0, 0); |
| 763 | 762 | if( !db_is_global("localauth") ) db_set_int("localauth", 0, 0); |
| 764 | 763 | zUser = db_get("default-user", 0); |
| 765 | 764 | if( zUser==0 ){ |
| 766 | 765 | #ifdef __MINGW32__ |
| 767 | 766 | zUser = getenv("USERNAME"); |
| | @@ -1052,11 +1051,11 @@ |
| 1052 | 1051 | ** |
| 1053 | 1052 | ** autosync If enabled, automatically pull prior to |
| 1054 | 1053 | ** commit or update and automatically push |
| 1055 | 1054 | ** after commit or tag or branch creation. |
| 1056 | 1055 | ** |
| 1057 | | -** clearsign Command used to clear-sign manifests at check-in. |
| 1056 | +** pgp-command Command used to clear-sign manifests at check-in. |
| 1058 | 1057 | ** The default is "gpg --clearsign -o ". |
| 1059 | 1058 | ** |
| 1060 | 1059 | ** editor Text editor command used for check-in comments. |
| 1061 | 1060 | ** |
| 1062 | 1061 | ** localauth If enabled, require that HTTP connections from |
| | @@ -1065,28 +1064,23 @@ |
| 1065 | 1064 | ** unrestricted access to the repository. |
| 1066 | 1065 | ** |
| 1067 | 1066 | ** omitsign When enabled, fossil will not attempt to sign any |
| 1068 | 1067 | ** commit with gpg. All commits will be unsigned. |
| 1069 | 1068 | ** |
| 1070 | | -** safemerge If enabled, when commit will cause a fork, the |
| 1071 | | -** commit will not abort with warning. Also update |
| 1072 | | -** will not be allowed if local changes exist. |
| 1073 | | -** |
| 1074 | | -** diff-command External command to run when performing a diff. |
| 1069 | +** diff-command External command to run when performing a diff. |
| 1075 | 1070 | ** If undefined, the internal text diff will be used. |
| 1076 | 1071 | ** |
| 1077 | | -** gdiff-command External command to run when performing a graphical |
| 1072 | +** gdiff-command External command to run when performing a graphical |
| 1078 | 1073 | ** diff. If undefined, text diff will be used. |
| 1079 | 1074 | */ |
| 1080 | 1075 | void setting_cmd(void){ |
| 1081 | 1076 | static const char *azName[] = { |
| 1082 | 1077 | "autosync", |
| 1083 | | - "clearsign", |
| 1078 | + "pgp-command", |
| 1084 | 1079 | "editor", |
| 1085 | 1080 | "localauth", |
| 1086 | 1081 | "omitsign", |
| 1087 | | - "safemerge", |
| 1088 | 1082 | "diff-command", |
| 1089 | 1083 | "gdiff-command", |
| 1090 | 1084 | }; |
| 1091 | 1085 | int i; |
| 1092 | 1086 | int globalFlag = find_option("global","g",0)!=0; |
| 1093 | 1087 | |