Fossil SCM

Rename the 'control' artifact type to 'tag' for purposes of artifact_to_json(), per /chat discussion.

stephan 2025-03-24 17:50 artifact-to-json
Commit 5b11c1d65069eb0bc1903e3a0d7746429d99136c32b2971f8a481612b1921ac0
1 file changed +1 -1
+1 -1
--- src/manifest.c
+++ src/manifest.c
@@ -2920,11 +2920,11 @@
29202920
*/
29212921
const char * artifact_type_to_name(int typeId){
29222922
switch(typeId){
29232923
case CFTYPE_MANIFEST: return "checkin";
29242924
case CFTYPE_CLUSTER: return "cluster";
2925
- case CFTYPE_CONTROL: return "control";
2925
+ case CFTYPE_CONTROL: return "tag";
29262926
case CFTYPE_WIKI: return "wiki";
29272927
case CFTYPE_TICKET: return "ticket";
29282928
case CFTYPE_ATTACHMENT: return "attachment";
29292929
case CFTYPE_EVENT: return "event";
29302930
case CFTYPE_FORUM: return "forumpost";
29312931
--- src/manifest.c
+++ src/manifest.c
@@ -2920,11 +2920,11 @@
2920 */
2921 const char * artifact_type_to_name(int typeId){
2922 switch(typeId){
2923 case CFTYPE_MANIFEST: return "checkin";
2924 case CFTYPE_CLUSTER: return "cluster";
2925 case CFTYPE_CONTROL: return "control";
2926 case CFTYPE_WIKI: return "wiki";
2927 case CFTYPE_TICKET: return "ticket";
2928 case CFTYPE_ATTACHMENT: return "attachment";
2929 case CFTYPE_EVENT: return "event";
2930 case CFTYPE_FORUM: return "forumpost";
2931
--- src/manifest.c
+++ src/manifest.c
@@ -2920,11 +2920,11 @@
2920 */
2921 const char * artifact_type_to_name(int typeId){
2922 switch(typeId){
2923 case CFTYPE_MANIFEST: return "checkin";
2924 case CFTYPE_CLUSTER: return "cluster";
2925 case CFTYPE_CONTROL: return "tag";
2926 case CFTYPE_WIKI: return "wiki";
2927 case CFTYPE_TICKET: return "ticket";
2928 case CFTYPE_ATTACHMENT: return "attachment";
2929 case CFTYPE_EVENT: return "event";
2930 case CFTYPE_FORUM: return "forumpost";
2931

Keyboard Shortcuts

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