From 80767bc9732bf6716697198e53ff2cb8d4ae96be Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 12 Aug 2026 18:23:17 -1000 Subject: Restyle the sources and fix the audit's findings --- source/ui-log.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source/ui-log.h') diff --git a/source/ui-log.h b/source/ui-log.h index 562524b..ecfe85d 100644 --- a/source/ui-log.h +++ b/source/ui-log.h @@ -1,9 +1,16 @@ -#ifndef UI_LOG_H -#define UI_LOG_H +/* + * The listing of commits, shown by the log page and by the block of recent + * commits on a repository's summary page. The commit page borrows the + * decorations alone, so that branch and tag labels look the same wherever a + * commit is named. + */ + +#ifndef CGIT_UI_LOG_H +#define CGIT_UI_LOG_H 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); extern void cgit_print_commit_decorations(struct commit *commit); -#endif /* UI_LOG_H */ +#endif // CGIT_UI_LOG_H -- cgit v2.8.0