summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorLars Hjemli <hjemli@gmail.com>2009-11-07 18:10:58 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2009-11-07 18:10:58 (UTC)
commit41934a3222cd3e5a5f214e4275929519c70d311d (patch) (side-by-side diff)
treef938c5a2a595ce0b33bab53cd7d6872bfb8d62c5 /cgit.h
parente633ccf714eb423c4522924c3b611dac2e176c5e (diff)
downloadcgit-41934a3222cd3e5a5f214e4275929519c70d311d.zip
cgit-41934a3222cd3e5a5f214e4275929519c70d311d.tar.gz
cgit-41934a3222cd3e5a5f214e4275929519c70d311d.tar.bz2
Add support for remote branches
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 6c6c460..1de2335 100644
--- a/cgit.h
+++ b/cgit.h
@@ -63,24 +63,25 @@ struct cgit_repo {
char *name;
char *path;
char *desc;
char *owner;
char *defbranch;
char *module_link;
char *readme;
char *section;
char *clone_url;
int snapshots;
int enable_log_filecount;
int enable_log_linecount;
+ int enable_remote_branches;
int max_stats;
time_t mtime;
struct cgit_filter *about_filter;
struct cgit_filter *commit_filter;
struct cgit_filter *source_filter;
};
typedef void (*repo_config_fn)(struct cgit_repo *repo, const char *name,
const char *value);
struct cgit_repolist {
int length;
@@ -169,24 +170,25 @@ struct cgit_config {
int cache_size;
int cache_dynamic_ttl;
int cache_max_create_time;
int cache_repo_ttl;
int cache_root_ttl;
int cache_scanrc_ttl;
int cache_static_ttl;
int embedded;
int enable_filter_overrides;
int enable_index_links;
int enable_log_filecount;
int enable_log_linecount;
+ int enable_remote_branches;
int enable_tree_linenumbers;
int local_time;
int max_repo_count;
int max_commit_count;
int max_lock_attempts;
int max_msg_len;
int max_repodesc_len;
int max_stats;
int nocache;
int noplainemail;
int noheader;
int renamelimit;