diff options
Diffstat (limited to 'source/ui-log.h')
| -rw-r--r-- | source/ui-log.h | 8 |
1 file changed, 7 insertions, 1 deletion
diff --git a/source/ui-log.h b/source/ui-log.h index 8e6e3db..d01a63d 100644 --- a/source/ui-log.h +++ b/source/ui-log.h @@ -8,8 +8,14 @@ #ifndef CGIT_UI_LOG_H #define CGIT_UI_LOG_H +/* + * With pager set the log is a page of its own, in a table it opens itself. + * Without it the rows go into a table the caller holds open, and table_columns + * is that table's width, which every row is filled out to. 0 leaves the rows + * at their own width. + */ extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern, - const char *path, int pager, int commit_graph, int commit_sort); + const char *path, int pager, int commit_graph, int commit_sort, int table_columns); extern void cgit_print_commit_decorations(struct commit *commit); #endif // CGIT_UI_LOG_H |
