Diff options
Diffstat (limited to 'source/ui-log.h')
-rw-r--r--source/ui-log.h7
1 file changed, 7 insertions, 0 deletions
diff --git a/source/ui-log.h b/source/ui-log.h
index cec0f7a..349489a 100644
--- a/source/ui-log.h
+++ b/source/ui-log.h
@@ -16,6 +16,13 @@
*/
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