author | Lars Hjemli <hjemli@gmail.com> | 2008-06-26 10:54:44 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-06-26 10:54:44 (UTC) |
commit | 29b37e9781ce1bb04e558c7490d2c29eb1a477e5 (patch) (unidiff) | |
tree | 5a9a7b0b976b442cc8dda6195b804993c603d28d /cmd.c | |
parent | 833b0d2732f808281496df16eb917d6fdb0a274f (diff) | |
parent | 42effc939090b2fbf1b2b76cd1d9c30fabcd230e (diff) | |
download | cgit-29b37e9781ce1bb04e558c7490d2c29eb1a477e5.zip cgit-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
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,17 +27,17 @@ static void about_fn(struct cgit_context *ctx) | |||
27 | if (ctx->repo) | 27 | if (ctx->repo) |
28 | cgit_print_repo_readme(); | 28 | cgit_print_repo_readme(); |
29 | else | 29 | else |
30 | cgit_print_site_readme(); | 30 | cgit_print_site_readme(); |
31 | } | 31 | } |
32 | 32 | ||
33 | static void blob_fn(struct cgit_context *ctx) | 33 | static void blob_fn(struct cgit_context *ctx) |
34 | { | 34 | { |
35 | cgit_print_blob(ctx->qry.sha1, ctx->qry.path); | 35 | cgit_print_blob(ctx->qry.sha1, ctx->qry.path, ctx->qry.head); |
36 | } | 36 | } |
37 | 37 | ||
38 | static void commit_fn(struct cgit_context *ctx) | 38 | static void commit_fn(struct cgit_context *ctx) |
39 | { | 39 | { |
40 | cgit_print_commit(ctx->qry.sha1); | 40 | cgit_print_commit(ctx->qry.sha1); |
41 | } | 41 | } |
42 | 42 | ||
43 | static void diff_fn(struct cgit_context *ctx) | 43 | static void diff_fn(struct cgit_context *ctx) |