aboutsummaryrefslogtreecommitdiff
path: root/cgit.h
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/cgit.h b/cgit.h
index 0eb5ed5..0badc64 100644
--- a/cgit.h
+++ b/cgit.h
@@ -53,10 +53,6 @@ typedef void (*filepair_fn)(struct diff_filepair *pair);
typedef void (*linediff_fn)(char *line, int len);
typedef enum {
- DIFF_UNIFIED, DIFF_SSDIFF
-} diff_type;
-
-typedef enum {
ABOUT, COMMIT, SOURCE, EMAIL, AUTH
} filter_type;
@@ -154,7 +150,7 @@ struct reflist {
struct cgit_query {
int has_symref;
int has_sha1;
- int has_difftype;
+ int has_ssdiff;
char *raw;
char *repo;
char *page;
@@ -172,7 +168,7 @@ struct cgit_query {
int nohead;
char *sort;
int showmsg;
- diff_type difftype;
+ int ssdiff;
int show_all;
int context;
int ignorews;
@@ -249,7 +245,7 @@ struct cgit_config {
int summary_branches;
int summary_log;
int summary_tags;
- diff_type difftype;
+ int ssdiff;
int branch_sort;
int commit_sort;
struct string_list mimetypes;