Fossil SCM

Remove the "TIP:" in the commit message prompt in an effort to reduce "warning fatigue".

drh 2014-04-21 13:19 trunk
Commit 7ca6ce030dc79b6f2bc08cfbb6dc2db10b1066a9
1 file changed +1 -6
+1 -6
--- src/checkin.c
+++ src/checkin.c
@@ -805,16 +805,11 @@
805805
#else
806806
blob_init(&prompt, zInit, -1);
807807
#endif
808808
blob_append(&prompt,
809809
"\n"
810
- "# Enter commit message for this check-in. Lines beginning with # are ignored.\n"
811
- "#\n"
812
- "# *******\n"
813
- "# ** TIP: For opportunity to abort this commit,\n"
814
- "# ** submit an empty commit message.\n"
815
- "# *******\n"
810
+ "# Enter a commit message for this check-in. Lines beginning with # are ignored.\n"
816811
"#\n", -1
817812
);
818813
blob_appendf(&prompt, "# user: %s\n", p->zUserOvrd ? p->zUserOvrd : login_name());
819814
if( p->zBranch && p->zBranch[0] ){
820815
blob_appendf(&prompt, "# tags: %s\n#\n", p->zBranch);
821816
--- src/checkin.c
+++ src/checkin.c
@@ -805,16 +805,11 @@
805 #else
806 blob_init(&prompt, zInit, -1);
807 #endif
808 blob_append(&prompt,
809 "\n"
810 "# Enter commit message for this check-in. Lines beginning with # are ignored.\n"
811 "#\n"
812 "# *******\n"
813 "# ** TIP: For opportunity to abort this commit,\n"
814 "# ** submit an empty commit message.\n"
815 "# *******\n"
816 "#\n", -1
817 );
818 blob_appendf(&prompt, "# user: %s\n", p->zUserOvrd ? p->zUserOvrd : login_name());
819 if( p->zBranch && p->zBranch[0] ){
820 blob_appendf(&prompt, "# tags: %s\n#\n", p->zBranch);
821
--- src/checkin.c
+++ src/checkin.c
@@ -805,16 +805,11 @@
805 #else
806 blob_init(&prompt, zInit, -1);
807 #endif
808 blob_append(&prompt,
809 "\n"
810 "# Enter a commit message for this check-in. Lines beginning with # are ignored.\n"
 
 
 
 
 
811 "#\n", -1
812 );
813 blob_appendf(&prompt, "# user: %s\n", p->zUserOvrd ? p->zUserOvrd : login_name());
814 if( p->zBranch && p->zBranch[0] ){
815 blob_appendf(&prompt, "# tags: %s\n#\n", p->zBranch);
816

Keyboard Shortcuts

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