diff options
Diffstat (limited to 'ui-plain.c')
-rw-r--r-- | ui-plain.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ static void print_object(const unsigned char *sha1, const char *path) | |||
34 | ctx.page.mimetype = "text/plain"; | 34 | ctx.page.mimetype = "text/plain"; |
35 | ctx.page.filename = fmt("%s", path); | 35 | ctx.page.filename = fmt("%s", path); |
36 | ctx.page.size = size; | 36 | ctx.page.size = size; |
37 | ctx.page.etag = sha1_to_hex(sha1); | ||
37 | cgit_print_http_headers(&ctx); | 38 | cgit_print_http_headers(&ctx); |
38 | html_raw(buf, size); | 39 | html_raw(buf, size); |
39 | match = 1; | 40 | match = 1; |