mirror of
https://git.zx2c4.com/cgit
synced 2025-07-25 13:15:37 +02:00
Return http statuscode 404 on unknown branch
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
45e7fcecc1
commit
e429fb0cca
3 changed files with 6 additions and 0 deletions
2
cgit.h
2
cgit.h
|
@ -181,6 +181,8 @@ struct cgit_page {
|
|||
char *charset;
|
||||
char *filename;
|
||||
char *title;
|
||||
int status;
|
||||
char *statusmsg;
|
||||
};
|
||||
|
||||
struct cgit_context {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue