]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
Add plain patch view
[ps-cgit] / shared.c
index 2c309f591cc34ea7f9a5fc78bbad37029c0096d0..9c992c8adb3834fa41cfb5e6a453d43dc17a0580 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -70,7 +70,7 @@ int htmlfd = 0;
 int cgit_get_cmd_index(const char *cmd)
 {
        static char *cmds[] = {"log", "commit", "diff", "tree", "blob",
-                              "snapshot", "tag", "refs", NULL};
+                              "snapshot", "tag", "refs", "patch", NULL};
        int i;
 
        for(i = 0; cmds[i]; i++)