Fossil SCM

Increase the maximum number of rails on a timeline graph from 40 to 60.

drh 2025-03-21 15:02 trunk
Commit 45965933c288d08f52ccca26ba6f5e87d93cf3d47be78b0b4da14fd4ced8c808
1 file changed +1 -1
+1 -1
--- src/graph.c
+++ src/graph.c
@@ -59,11 +59,11 @@
5959
** check-ins and many files. For this reason, we make the identifier
6060
** a 64-bit integer, to dramatically reduce the risk of an overflow.
6161
*/
6262
typedef sqlite3_int64 GraphRowId;
6363
64
-#define GR_MAX_RAIL 40 /* Max number of "rails" to display */
64
+#define GR_MAX_RAIL 60 /* Max number of "rails" to display */
6565
6666
/* The graph appears vertically beside a timeline. Each row in the
6767
** timeline corresponds to a row in the graph. GraphRow.idx is 0 for
6868
** the top-most row and increases moving down. Hence (in the absence of
6969
** time skew) parents have a larger index than their children.
7070
--- src/graph.c
+++ src/graph.c
@@ -59,11 +59,11 @@
59 ** check-ins and many files. For this reason, we make the identifier
60 ** a 64-bit integer, to dramatically reduce the risk of an overflow.
61 */
62 typedef sqlite3_int64 GraphRowId;
63
64 #define GR_MAX_RAIL 40 /* Max number of "rails" to display */
65
66 /* The graph appears vertically beside a timeline. Each row in the
67 ** timeline corresponds to a row in the graph. GraphRow.idx is 0 for
68 ** the top-most row and increases moving down. Hence (in the absence of
69 ** time skew) parents have a larger index than their children.
70
--- src/graph.c
+++ src/graph.c
@@ -59,11 +59,11 @@
59 ** check-ins and many files. For this reason, we make the identifier
60 ** a 64-bit integer, to dramatically reduce the risk of an overflow.
61 */
62 typedef sqlite3_int64 GraphRowId;
63
64 #define GR_MAX_RAIL 60 /* Max number of "rails" to display */
65
66 /* The graph appears vertically beside a timeline. Each row in the
67 ** timeline corresponds to a row in the graph. GraphRow.idx is 0 for
68 ** the top-most row and increases moving down. Hence (in the absence of
69 ** time skew) parents have a larger index than their children.
70

Keyboard Shortcuts

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