Fossil

Check-in [7ca6ce03]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove the "TIP:" in the commit message prompt in an effort to reduce "warning fatigue".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:7ca6ce030dc79b6f2bc08cfbb6dc2db10b1066a9
User & Date: drh 2014-04-21 13:19:29
Context
2014-04-21
13:24
Update the built-in SQLite to 3.8.5 alpha, including all of the latest performance enhancements and bug fixes. check-in: 88aa2e37 user: drh tags: trunk
13:19
Remove the "TIP:" in the commit message prompt in an effort to reduce "warning fatigue". check-in: 7ca6ce03 user: drh tags: trunk
2014-04-20
19:31
Fix typo and avoid nested double quotes in wiki format guide. check-in: 8a5f192b user: andygoth tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/checkin.c.

803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
    blob_append(&prompt, zInit, -1);
  }
#else
  blob_init(&prompt, zInit, -1);
#endif
  blob_append(&prompt,
    "\n"
    "# Enter commit message for this check-in. Lines beginning with # are ignored.\n"
    "#\n"
    "# *******\n"
    "# ** TIP: For opportunity to abort this commit,\n"
    "# **            submit an empty commit message.\n"
    "# *******\n"
    "#\n", -1
  );
  blob_appendf(&prompt, "# user: %s\n", p->zUserOvrd ? p->zUserOvrd : login_name());
  if( p->zBranch && p->zBranch[0] ){
    blob_appendf(&prompt, "# tags: %s\n#\n", p->zBranch);
  }else{
    char *zTags = info_tags_of_checkin(parent_rid, 1);







|
<
<
<
<
<







803
804
805
806
807
808
809
810





811
812
813
814
815
816
817
    blob_append(&prompt, zInit, -1);
  }
#else
  blob_init(&prompt, zInit, -1);
#endif
  blob_append(&prompt,
    "\n"
    "# Enter a commit message for this check-in. Lines beginning with # are ignored.\n"





    "#\n", -1
  );
  blob_appendf(&prompt, "# user: %s\n", p->zUserOvrd ? p->zUserOvrd : login_name());
  if( p->zBranch && p->zBranch[0] ){
    blob_appendf(&prompt, "# tags: %s\n#\n", p->zBranch);
  }else{
    char *zTags = info_tags_of_checkin(parent_rid, 1);