Website Summary Files Commits Branches @commit @diff @stats
path: root / cgit.h
diff options
context:
space:
mode:
Commit779631c6dc23c15bbbf45a7c7ab9fffb619037b7 (patch)
Author
 Christian Hesse <mail@eworm.de>
2020-10-20 23:32:45 +0200
Committer
 Christian Hesse <mail@eworm.de>
2020-10-20 23:57:12 +0200
Files99ddcae06134e97ef490fb1a4c9f6ab095ca5052 /cgit.h
cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.tar
cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.tar.gz
cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.zip
Parent629659d2cffbf059374fc53e6400ff0bebe1ddde (diff)
global: replace references to 'sha1' with 'oid'
For some time now sha1 is considered broken and upstream is working to replace it with sha256. Replace all references to 'sha1' with 'oid', just as upstream does. Signed-off-by: Christian Hesse <mail@eworm.de>
1 files changed, 3 insertions, 3 deletions
-rw-r--r--cgit.h6
diff --git a/cgit.h b/cgit.h
index f5db364..69b5c13 100644
--- a/cgit.h
+++ b/cgit.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;