about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-05-23 22:46:54 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-23 22:46:54 +0200
commitbbcdc290c6c0b8121e57dbca4bd66c9e5e729959 (patch)
treefb762f2153b60cc4f997095626af70baa16ce7b1 /cgit.h
parentRemove unused variable from ui-repolist.c:read_agefile() (diff)
downloadcgit-pink-bbcdc290c6c0b8121e57dbca4bd66c9e5e729959.tar.gz
cgit-pink-bbcdc290c6c0b8121e57dbca4bd66c9e5e729959.zip
Add repo.readme parameter
This parameter can be used to specify a repo-specific includefile, which will
then be printed on the summary page for the repo.

If the parametervalue is a not an absolute path, it is taken to be relative
to repo.path.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 3938633..5c55bec 100644
--- a/cgit.h
+++ b/cgit.h
@@ -68,6 +68,7 @@ struct repoinfo {
 	char *defbranch;
 	char *group;
 	char *module_link;
+	char *readme;
 	int snapshots;
 	int enable_log_filecount;
 	int enable_log_linecount;