]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.h
global: replace references to 'sha1' with 'oid'
[cgit.git] / cgit.h
diff --git a/cgit.h b/cgit.h
index 0798dc5ce2e688775bd671cc610a0bf8f7941720..69b5c13232e74845907a2212ade32f36f861bba8 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -8,12 +8,13 @@
 #include <cache.h>
 #include <grep.h>
 #include <object.h>
+#include <object-store.h>
 #include <tree.h>
 #include <commit.h>
 #include <tag.h>
 #include <diff.h>
 #include <diffcore.h>
-#include <argv-array.h>
+#include <strvec.h>
 #include <refs.h>
 #include <revision.h>
 #include <log-tree.h>
@@ -81,6 +82,7 @@ struct cgit_repo {
        char *name;
        char *path;
        char *desc;
+       char *extra_head_content;
        char *owner;
        char *homepage;
        char *defbranch;
@@ -92,6 +94,7 @@ struct cgit_repo {
        char *logo_link;
        char *snapshot_prefix;
        int snapshots;
+       int enable_blame;
        int enable_commit_graph;
        int enable_log_filecount;
        int enable_log_linecount;
@@ -161,7 +164,7 @@ struct reflist {
 
 struct cgit_query {
        int has_symref;
-       int has_sha1;
+       int has_oid;
        int has_difftype;
        char *raw;
        char *repo;
@@ -169,8 +172,8 @@ struct cgit_query {
        char *search;
        char *grep;
        char *head;
-       char *sha1;
-       char *sha2;
+       char *oid;
+       char *oid2;
        char *path;
        char *name;
        char *url;
@@ -197,8 +200,6 @@ struct cgit_config {
        char *footer;
        char *head_include;
        char *header;
-       char *index_header;
-       char *index_info;
        char *logo;
        char *logo_link;
        char *mimetype_file;
@@ -248,7 +249,6 @@ struct cgit_config {
        int max_repodesc_len;
        int max_blob_size;
        int max_stats;
-       int nocache;
        int noplainemail;
        int noheader;
        int renamelimit;