summaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-06-26 12:54:44 +0200
committerLars Hjemli <hjemli@gmail.com>2008-06-26 12:54:44 +0200
commit29b37e9781ce1bb04e558c7490d2c29eb1a477e5 (patch)
tree5a9a7b0b976b442cc8dda6195b804993c603d28d /cmd.c
parent833b0d2732f808281496df16eb917d6fdb0a274f (diff)
parent42effc939090b2fbf1b2b76cd1d9c30fabcd230e (diff)
downloadcgit-29b37e9781ce1bb04e558c7490d2c29eb1a477e5.tar.gz
cgit-29b37e9781ce1bb04e558c7490d2c29eb1a477e5.tar.bz2
Merge branch 'master' of git://git.klever.net/patchwork/cgit
* 'master' of git://git.klever.net/patchwork/cgit: allow specification of directly linked blobs mimetypes allow blob extract blobs by head/path combination
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 4edca6b..fe0ea8f 100644
--- a/cmd.c
+++ b/cmd.c
@@ -32,7 +32,7 @@ static void about_fn(struct cgit_context *ctx)
static void blob_fn(struct cgit_context *ctx)
{
- cgit_print_blob(ctx->qry.sha1, ctx->qry.path);
+ cgit_print_blob(ctx->qry.sha1, ctx->qry.path, ctx->qry.head);
}
static void commit_fn(struct cgit_context *ctx)