diff options
author | Christian Hesse | 2020-10-20 23:32:45 +0200 |
---|---|---|
committer | Christian Hesse | 2020-10-20 23:57:12 +0200 |
commit | 779631c6dc23c15bbbf45a7c7ab9fffb619037b7 (patch) | |
tree | 99ddcae06134e97ef490fb1a4c9f6ab095ca5052 /cgit.h | |
parent | 629659d2cffbf059374fc53e6400ff0bebe1ddde (diff) | |
download | cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.tar.gz cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.tar.bz2 cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.zip |
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>
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -164,7 +164,7 @@ struct reflist { | |||
164 | 164 | ||
165 | struct cgit_query { | 165 | struct cgit_query { |
166 | int has_symref; | 166 | int has_symref; |
167 | int has_sha1; | 167 | int has_oid; |
168 | int has_difftype; | 168 | int has_difftype; |
169 | char *raw; | 169 | char *raw; |
170 | char *repo; | 170 | char *repo; |
@@ -172,8 +172,8 @@ struct cgit_query { | |||
172 | char *search; | 172 | char *search; |
173 | char *grep; | 173 | char *grep; |
174 | char *head; | 174 | char *head; |
175 | char *sha1; | 175 | char *oid; |
176 | char *sha2; | 176 | char *oid2; |
177 | char *path; | 177 | char *path; |
178 | char *name; | 178 | char *name; |
179 | char *url; | 179 | char *url; |