]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Add commitdiff between commit and each of it's parent
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index 43de3750017a8198217c83b331488c5059cf017e..93699b5412242534a49d9586604f7de7df0fd659 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -87,6 +87,7 @@ extern int cgit_cache_static_ttl;
 extern int cgit_cache_max_create_time;
 
 extern int cgit_max_msg_len;
+extern int cgit_max_commit_count;
 
 extern char *cgit_repo_name;
 extern char *cgit_repo_desc;
@@ -173,7 +174,7 @@ extern void cgit_print_view(const char *hex, char *path);
 extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path);
 extern void cgit_print_tree(const char *hex, char *path);
 extern void cgit_print_commit(const char *hex);
-extern void cgit_print_diff(const char *old_hex, const char *new_hex);
+extern void cgit_print_diff(const char *old_hex, const char *new_hex, char *path);
 extern void cgit_print_snapshot(struct cacheitem *item, const char *hex, 
                                const char *format, const char *prefix,
                                const char *filename);