]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
new_filter: determine extra_args from filter type
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index 8a9d5fa6a86723ddf964ca8f51ae1a4f9f756006..1f8b1bee11c77bfeaea22b5d9758e03731c951d9 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -20,6 +20,7 @@
 #include <xdiff/xdiff.h>
 #include <utf8.h>
 #include <notes.h>
+#include <graph.h>
 
 
 /*
@@ -50,6 +51,10 @@ typedef void (*configfn)(const char *name, const char *value);
 typedef void (*filepair_fn)(struct diff_filepair *pair);
 typedef void (*linediff_fn)(char *line, int len);
 
+typedef enum {
+       ABOUT, COMMIT, SOURCE
+} filter_type;
+
 struct cgit_filter {
        char *cmd;
        char **argv;
@@ -73,6 +78,7 @@ struct cgit_repo {
        char *logo;
        char *logo_link;
        int snapshots;
+       int enable_commit_graph;
        int enable_log_filecount;
        int enable_log_linecount;
        int enable_remote_branches;
@@ -190,6 +196,7 @@ struct cgit_config {
        int enable_filter_overrides;
        int enable_gitweb_owner;
        int enable_index_links;
+       int enable_commit_graph;
        int enable_log_filecount;
        int enable_log_linecount;
        int enable_remote_branches;
@@ -209,6 +216,7 @@ struct cgit_config {
        int noheader;
        int renamelimit;
        int remove_suffix;
+       int scan_hidden_path;
        int section_from_path;
        int snapshots;
        int summary_branches;