Website Summary Files Commits Branches @commit @diff @stats
path: root / cmd.c
diff options
context:
space:
mode:
Commit696a33b66f8638d5c3e0464d66760c6d60ff24a5 (patch)
Author
 John Keeping <john@keeping.me.uk>
2015-08-14 12:47:19 +0100
Committer
 Jason A. Donenfeld <Jason@zx2c4.com>
2015-08-14 15:46:51 +0200
Files8da0938fb4cc6ac6dc487dfc9a117cc1f910de3e /cmd.c
cgit-696a33b66f8638d5c3e0464d66760c6d60ff24a5.tar
cgit-696a33b66f8638d5c3e0464d66760c6d60ff24a5.tar.gz
cgit-696a33b66f8638d5c3e0464d66760c6d60ff24a5.zip
Parenta3daa41b78fc2c528c9a42630ab95451ddb87358 (diff)
tag: move layout into page function
This also allows us to return proper HTTP error codes when something goes wrong. Signed-off-by: John Keeping <john@keeping.me.uk>
1 files changed, 1 insertions, 1 deletions
-rw-r--r--cmd.c2
diff --git a/cmd.c b/cmd.c
index 928c8aa..54961d9 100644
--- a/cmd.c
+++ b/cmd.c
@@ -171,7 +171,7 @@ struct cgit_cmd *cgit_get_cmd(void)
def_cmd(snapshot, 1, 0, 0, 0),
def_cmd(stats, 1, 0, 1, 0),
def_cmd(summary, 1, 0, 0, 0),
- def_cmd(tag, 1, 1, 0, 0),
+ def_cmd(tag, 1, 0, 0, 0),
def_cmd(tree, 1, 1, 1, 0),
};
int i;