mirror of
https://git.zx2c4.com/cgit
synced 2025-06-27 12:08:55 +02:00
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@cryptocrack.de>
This commit is contained in:
parent
1a2eeb94d4
commit
c58cec9dff
5 changed files with 23 additions and 0 deletions
2
cgit.h
2
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue