From c58cec9dff273b44c428cfaee24e5e3743c0034e Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 29 Jan 2015 12:52:49 +0100 Subject: Add repo.hide and repo.ignore These options can be used to hide a repository from the index or completely ignore a repository, respectively. They are particularly useful when used in combination with scan-path. Signed-off-by: Lukas Fleischer --- cgit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 42140ac..16f8092 100644 --- a/cgit.h +++ b/cgit.h @@ -106,6 +106,8 @@ struct cgit_repo { struct cgit_filter *email_filter; struct cgit_filter *owner_filter; struct string_list submodules; + int hide; + int ignore; }; typedef void (*repo_config_fn)(struct cgit_repo *repo, const char *name, -- cgit v1.2.1