Fossil SCM
Default the /timeline format to "comment (detail)".
Commit
58cfff2a4aa7ae490b08d590d64de1bb4a1a25f3423870f95220cb95396b34f0
Parent
e91d26720582817…
3 files changed
+1
-1
+1
-1
+1
-1
+1
-1
| --- src/finfo.c | ||
| +++ src/finfo.c | ||
| @@ -330,11 +330,11 @@ | ||
| 330 | 330 | if( brBg ) url_add_parameter(&url, "brbg", 0); |
| 331 | 331 | if( uBg ) url_add_parameter(&url, "ubg", 0); |
| 332 | 332 | baseCheckin = name_to_rid_www("ci"); |
| 333 | 333 | zPrevDate[0] = 0; |
| 334 | 334 | zFilename = PD("name",""); |
| 335 | - eCommentFormat = db_get_int("timeline-comment-format", 0); | |
| 335 | + eCommentFormat = db_get_int("timeline-comment-format", 4); | |
| 336 | 336 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 337 | 337 | bSeparateDetail = (eCommentFormat & 8)!=0; |
| 338 | 338 | switch( (eCommentFormat>>1)&3 ){ |
| 339 | 339 | case 1: bHashAfterComment = 1; break; |
| 340 | 340 | case 2: bHashInDetail = 1; break; |
| 341 | 341 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -330,11 +330,11 @@ | |
| 330 | if( brBg ) url_add_parameter(&url, "brbg", 0); |
| 331 | if( uBg ) url_add_parameter(&url, "ubg", 0); |
| 332 | baseCheckin = name_to_rid_www("ci"); |
| 333 | zPrevDate[0] = 0; |
| 334 | zFilename = PD("name",""); |
| 335 | eCommentFormat = db_get_int("timeline-comment-format", 0); |
| 336 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 337 | bSeparateDetail = (eCommentFormat & 8)!=0; |
| 338 | switch( (eCommentFormat>>1)&3 ){ |
| 339 | case 1: bHashAfterComment = 1; break; |
| 340 | case 2: bHashInDetail = 1; break; |
| 341 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -330,11 +330,11 @@ | |
| 330 | if( brBg ) url_add_parameter(&url, "brbg", 0); |
| 331 | if( uBg ) url_add_parameter(&url, "ubg", 0); |
| 332 | baseCheckin = name_to_rid_www("ci"); |
| 333 | zPrevDate[0] = 0; |
| 334 | zFilename = PD("name",""); |
| 335 | eCommentFormat = db_get_int("timeline-comment-format", 4); |
| 336 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 337 | bSeparateDetail = (eCommentFormat & 8)!=0; |
| 338 | switch( (eCommentFormat>>1)&3 ){ |
| 339 | case 1: bHashAfterComment = 1; break; |
| 340 | case 2: bHashInDetail = 1; break; |
| 341 |
+1
-1
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -1470,11 +1470,11 @@ | ||
| 1470 | 1470 | login_insert_csrf_secret(); |
| 1471 | 1471 | @ <p><input type="submit" name="submit" value="Apply Changes" /></p> |
| 1472 | 1472 | |
| 1473 | 1473 | @ <hr /> |
| 1474 | 1474 | multiple_choice_attribute("Comment Format", "timeline-comment-format", |
| 1475 | - "tcf", "0", count(azCommentFormats)/2, azCommentFormats); | |
| 1475 | + "tcf", "4", count(azCommentFormats)/2, azCommentFormats); | |
| 1476 | 1476 | @ <p>Each timeline entry contains between one and three of the following subsections: |
| 1477 | 1477 | @ <blockquote><table border=0 cellpadding=0> |
| 1478 | 1478 | @ <tr><td>[hash]<td> <td>an artifact hash with a hyperlink to a detail page |
| 1479 | 1479 | @ <tr><td>comment<td><td>the check-in comment or other text describing the item |
| 1480 | 1480 | @ <tr><td>(details)<td><td>details about the entry, such as the user, branch, tags, etc. |
| 1481 | 1481 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1470,11 +1470,11 @@ | |
| 1470 | login_insert_csrf_secret(); |
| 1471 | @ <p><input type="submit" name="submit" value="Apply Changes" /></p> |
| 1472 | |
| 1473 | @ <hr /> |
| 1474 | multiple_choice_attribute("Comment Format", "timeline-comment-format", |
| 1475 | "tcf", "0", count(azCommentFormats)/2, azCommentFormats); |
| 1476 | @ <p>Each timeline entry contains between one and three of the following subsections: |
| 1477 | @ <blockquote><table border=0 cellpadding=0> |
| 1478 | @ <tr><td>[hash]<td> <td>an artifact hash with a hyperlink to a detail page |
| 1479 | @ <tr><td>comment<td><td>the check-in comment or other text describing the item |
| 1480 | @ <tr><td>(details)<td><td>details about the entry, such as the user, branch, tags, etc. |
| 1481 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1470,11 +1470,11 @@ | |
| 1470 | login_insert_csrf_secret(); |
| 1471 | @ <p><input type="submit" name="submit" value="Apply Changes" /></p> |
| 1472 | |
| 1473 | @ <hr /> |
| 1474 | multiple_choice_attribute("Comment Format", "timeline-comment-format", |
| 1475 | "tcf", "4", count(azCommentFormats)/2, azCommentFormats); |
| 1476 | @ <p>Each timeline entry contains between one and three of the following subsections: |
| 1477 | @ <blockquote><table border=0 cellpadding=0> |
| 1478 | @ <tr><td>[hash]<td> <td>an artifact hash with a hyperlink to a detail page |
| 1479 | @ <tr><td>comment<td><td>the check-in comment or other text describing the item |
| 1480 | @ <tr><td>(details)<td><td>details about the entry, such as the user, branch, tags, etc. |
| 1481 |
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -268,11 +268,11 @@ | ||
| 268 | 268 | bCommentGitStyle = db_get_int("timeline-truncate-at-blank", 0); |
| 269 | 269 | { |
| 270 | 270 | /* Undocumented query parameter commentformat=N takes a numeric parameter to |
| 271 | 271 | ** adjust the comment-format for testing purposes. */ |
| 272 | 272 | const char *z = P("commentformat"); |
| 273 | - eCommentFormat = z ? atoi(z) : db_get_int("timeline-comment-format", 0); | |
| 273 | + eCommentFormat = z ? atoi(z) : db_get_int("timeline-comment-format", 4); | |
| 274 | 274 | } |
| 275 | 275 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 276 | 276 | bSeparateDetail = (eCommentFormat & 8)!=0; /* Bit 3 turns on the detail column */ |
| 277 | 277 | switch( (eCommentFormat>>1)&3 ){ |
| 278 | 278 | case 1: bHashAfterComment = 1; break; |
| 279 | 279 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -268,11 +268,11 @@ | |
| 268 | bCommentGitStyle = db_get_int("timeline-truncate-at-blank", 0); |
| 269 | { |
| 270 | /* Undocumented query parameter commentformat=N takes a numeric parameter to |
| 271 | ** adjust the comment-format for testing purposes. */ |
| 272 | const char *z = P("commentformat"); |
| 273 | eCommentFormat = z ? atoi(z) : db_get_int("timeline-comment-format", 0); |
| 274 | } |
| 275 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 276 | bSeparateDetail = (eCommentFormat & 8)!=0; /* Bit 3 turns on the detail column */ |
| 277 | switch( (eCommentFormat>>1)&3 ){ |
| 278 | case 1: bHashAfterComment = 1; break; |
| 279 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -268,11 +268,11 @@ | |
| 268 | bCommentGitStyle = db_get_int("timeline-truncate-at-blank", 0); |
| 269 | { |
| 270 | /* Undocumented query parameter commentformat=N takes a numeric parameter to |
| 271 | ** adjust the comment-format for testing purposes. */ |
| 272 | const char *z = P("commentformat"); |
| 273 | eCommentFormat = z ? atoi(z) : db_get_int("timeline-comment-format", 4); |
| 274 | } |
| 275 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 276 | bSeparateDetail = (eCommentFormat & 8)!=0; /* Bit 3 turns on the detail column */ |
| 277 | switch( (eCommentFormat>>1)&3 ){ |
| 278 | case 1: bHashAfterComment = 1; break; |
| 279 |