From 09631f5ed55f51b686814a31340c2fa80ac48b3d Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Mon, 14 Jun 2021 19:38:46 -0400 Subject: Add a license tab This tab is nearly identical to the about tab, use the license field in cgitrc to set a list of files to check for or use repo.license or cgit.license as a git-config key. --- ui-summary.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui-summary.h') diff --git a/ui-summary.h b/ui-summary.h index cba696a..9592802 100644 --- a/ui-summary.h +++ b/ui-summary.h @@ -1,7 +1,9 @@ #ifndef UI_SUMMARY_H #define UI_SUMMARY_H +#include + extern void cgit_print_summary(void); -extern void cgit_print_repo_readme(const char *path); +extern void cgit_print_repo_info_file(struct string_list file, const char *path); #endif /* UI_SUMMARY_H */ -- cgit v1.2.3-56-ge451