Diff options
Diffstat (limited to '')
| -rw-r--r-- | source/ui-log.h | 9 |
1 file changed, 8 insertions, 1 deletion
diff --git a/source/ui-log.h b/source/ui-log.h index d01a63d..349489a 100644 --- a/source/ui-log.h +++ b/source/ui-log.h @@ -14,8 +14,15 @@ * 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, +extern void cgit_print_log(const char *tip, int ofs, int cnt, const char *grep, const char *pattern, const char *path, int pager, int commit_graph, int commit_sort, int table_columns); + +/* + * The columns a log row spans: age, message and author, and one more each for + * the graph and for the file and line counts that are turned on. + */ +extern int cgit_log_columns(int graph); + extern void cgit_print_commit_decorations(struct commit *commit); #endif // CGIT_UI_LOG_H |
