summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index bb8f598..1bdfbc6 100644
--- a/cgit.h
+++ b/cgit.h
@@ -147,4 +147,5 @@ struct cgit_query {
147 int ssdiff; 147 int ssdiff;
148 int context; 148 int context;
149 int ignorews;
149 char *vpath; 150 char *vpath;
150}; 151};
@@ -276,9 +277,10 @@ extern int cgit_diff_files(const unsigned char *old_sha1,
276 const unsigned char *new_sha1, 277 const unsigned char *new_sha1,
277 unsigned long *old_size, unsigned long *new_size, 278 unsigned long *old_size, unsigned long *new_size,
278 int *binary, int context, linediff_fn fn); 279 int *binary, int context, int ignorews,
280 linediff_fn fn);
279 281
280extern void cgit_diff_tree(const unsigned char *old_sha1, 282extern void cgit_diff_tree(const unsigned char *old_sha1,
281 const unsigned char *new_sha1, 283 const unsigned char *new_sha1,
282 filepair_fn fn, const char *prefix); 284 filepair_fn fn, const char *prefix, int ignorews);
283 285
284extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); 286extern void cgit_diff_commit(struct commit *commit, filepair_fn fn);