diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Add `max-patch-count` to bound the patch view
Diffstat (limited to '')
-rw-r--r--source/cgit.h1
1 file changed, 1 insertion, 0 deletions
diff --git a/source/cgit.h b/source/cgit.h
index aaf90f8..b7caaf5 100644
--- a/source/cgit.h
+++ b/source/cgit.h
@@ -250,6 +250,7 @@ struct cgit_config {
int max_atom_items;
int max_repo_count;
int max_commit_count;
+ int max_patch_count;
int max_diff_files;
int max_diff_lines;
int max_msg_len;