about summary refs log tree commit diff
path: root/third_party/cgit/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/cgit/cgit.h')
-rw-r--r--third_party/cgit/cgit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/cgit/cgit.h b/third_party/cgit/cgit.h
index 7ec46b484640..69b5c13232e7 100644
--- a/third_party/cgit/cgit.h
+++ b/third_party/cgit/cgit.h
@@ -14,7 +14,7 @@
 #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>
@@ -164,7 +164,7 @@ struct reflist {
 
 struct cgit_query {
 	int has_symref;
-	int has_sha1;
+	int has_oid;
 	int has_difftype;
 	char *raw;
 	char *repo;
@@ -172,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;