]> gitweb.ps.run Git - ps-cgit/blobdiff - cmd.c
cache: id means static, even if head is specified too
[ps-cgit] / cmd.c
diff --git a/cmd.c b/cmd.c
index 198bf2fda549753dca3f4159c6680e00c49b5948..abe8e46098c0a284cb412b4328a5e9d33950566f 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -1,6 +1,7 @@
 /* cmd.c: the cgit command dispatcher
  *
  * Copyright (C) 2008 Lars Hjemli
+ * Copyright (C) 2013 Jason A. Donenfeld <Jason@zx2c4.com>.
  *
  * Licensed under GNU General Public License v2
  *   (see COPYING for full license text)
@@ -46,7 +47,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, ctx->qry.head);
+       cgit_print_blob(ctx->qry.sha1, ctx->qry.path, ctx->qry.head, 0);
 }
 
 static void commit_fn(struct cgit_context *ctx)