Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/cmd.c b/cmd.c index 766f903..ad784fc 100644 --- a/ cmd.c+++ b/ cmd.c |
|
@@ -24,25 +24,25 @@ |
24 | #include "ui-stats.h" |
24 | #include "ui-stats.h" |
25 | #include "ui-summary.h" |
25 | #include "ui-summary.h" |
26 | #include "ui-tag.h" |
26 | #include "ui-tag.h" |
27 | #include "ui-tree.h" |
27 | #include "ui-tree.h" |
28 | |
28 | |
29 | static void HEAD_fn(struct cgit_context *ctx) |
29 | static void HEAD_fn(struct cgit_context *ctx) |
30 | { |
30 | { |
31 | cgit_clone_head(ctx); |
31 | cgit_clone_head(ctx); |
32 | } |
32 | } |
33 | |
33 | |
34 | static void atom_fn(struct cgit_context *ctx) |
34 | static void atom_fn(struct cgit_context *ctx) |
35 | { |
35 | { |
36 | cgit_print_atom(ctx->qry.head, ctx->qry.path, 10); |
36 | cgit_print_atom(ctx->qry.head, ctx->qry.path, ctx->cfg.max_atom_items); |
37 | } |
37 | } |
38 | |
38 | |
39 | static void about_fn(struct cgit_context *ctx) |
39 | static void about_fn(struct cgit_context *ctx) |
40 | { |
40 | { |
41 | if (ctx->repo) |
41 | if (ctx->repo) |
42 | cgit_print_repo_readme(ctx->qry.path); |
42 | cgit_print_repo_readme(ctx->qry.path); |
43 | else |
43 | else |
44 | cgit_print_site_readme(); |
44 | cgit_print_site_readme(); |
45 | } |
45 | } |
46 | |
46 | |
47 | static void blob_fn(struct cgit_context *ctx) |
47 | static void blob_fn(struct cgit_context *ctx) |
48 | { |
48 | { |
|