diff options
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ | |||
1 | /* cmd.c: the cgit command dispatcher | 1 | /* cmd.c: the cgit command dispatcher |
2 | * | 2 | * |
3 | * Copyright (C) 2008 Lars Hjemli | 3 | * Copyright (C) 2008 Lars Hjemli |
4 | * Copyright (C) 2013 Jason A. Donenfeld <Jason@zx2c4.com>. | ||
4 | * | 5 | * |
5 | * Licensed under GNU General Public License v2 | 6 | * Licensed under GNU General Public License v2 |
6 | * (see COPYING for full license text) | 7 | * (see COPYING for full license text) |
@@ -46,7 +47,7 @@ static void about_fn(struct cgit_context *ctx) | |||
46 | 47 | ||
47 | static void blob_fn(struct cgit_context *ctx) | 48 | static void blob_fn(struct cgit_context *ctx) |
48 | { | 49 | { |
49 | cgit_print_blob(ctx->qry.sha1, ctx->qry.path, ctx->qry.head); | 50 | cgit_print_blob(ctx->qry.sha1, ctx->qry.path, ctx->qry.head, 0); |
50 | } | 51 | } |
51 | 52 | ||
52 | static void commit_fn(struct cgit_context *ctx) | 53 | static void commit_fn(struct cgit_context *ctx) |