mirror of
https://git.zx2c4.com/cgit
synced 2025-07-23 04:04:42 +02:00
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>
This commit is contained in:
parent
629659d2cf
commit
779631c6dc
13 changed files with 66 additions and 66 deletions
6
cgit.h
6
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue