Diff options
Diffstat (limited to 'source/ui-shared.h')
| -rw-r--r-- | source/ui-shared.h | 6 |
1 file changed, 6 insertions, 0 deletions
diff --git a/source/ui-shared.h b/source/ui-shared.h index fa73c83..e52a3ae 100644 --- a/source/ui-shared.h +++ b/source/ui-shared.h @@ -143,6 +143,12 @@ extern void cgit_print_error_page(int code, const char *msg, const char *fmt, .. extern void cgit_print_blob_too_large(size_t size); /* + * Answer with the 404 page for a path naming a submodule, whose commit rev + * lives in another repository, linking it the way a tree listing does. + */ +extern void cgit_print_submodule_page(char *path, const char *rev); + +/* * Resolve rev to the parsed commit it names, peeling a tag, with oid set to * what rev itself names. Returns NULL once the 404 page naming rev is out. */ |
