]> granicus.if.org Git - cgit/commit
Return 404 on command not found
authorDan McGee <dpmcgee@gmail.com>
Wed, 12 Jan 2011 18:06:08 +0000 (12:06 -0600)
committerLars Hjemli <hjemli@gmail.com>
Sat, 19 Feb 2011 14:00:18 +0000 (15:00 +0100)
commitaae067197f3fff253800359649d1f10014b23ecd
tree15ec47eafc2f1cd39f0557e61c4138f4b40537b7
parent42231328d3fa1e443566a5d8e6c3ccbce16157b6
Return 404 on command not found

We were returning 200 before. Even 404 is questionable in all cases, but
200 was totally wrong. Also match the case of all of the "Not found"
status messsages.

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c