|
diff --git a/cgit.h b/cgit.h index f990b15..bb8f598 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -142,12 +142,13 @@ struct cgit_query { |
142 | char *period; |
142 | char *period; |
143 | int ofs; |
143 | int ofs; |
144 | int nohead; |
144 | int nohead; |
145 | char *sort; |
145 | char *sort; |
146 | int showmsg; |
146 | int showmsg; |
147 | int ssdiff; |
147 | int ssdiff; |
| |
148 | int context; |
148 | char *vpath; |
149 | char *vpath; |
149 | }; |
150 | }; |
150 | |
151 | |
151 | struct cgit_config { |
152 | struct cgit_config { |
152 | char *agefile; |
153 | char *agefile; |
153 | char *cache_root; |
154 | char *cache_root; |
@@ -271,13 +272,13 @@ extern int cgit_refs_cb(const char *refname, const unsigned char *sha1, |
271 | |
272 | |
272 | extern void *cgit_free_commitinfo(struct commitinfo *info); |
273 | extern void *cgit_free_commitinfo(struct commitinfo *info); |
273 | |
274 | |
274 | extern int cgit_diff_files(const unsigned char *old_sha1, |
275 | extern int cgit_diff_files(const unsigned char *old_sha1, |
275 | const unsigned char *new_sha1, |
276 | const unsigned char *new_sha1, |
276 | unsigned long *old_size, unsigned long *new_size, |
277 | unsigned long *old_size, unsigned long *new_size, |
277 | int *binary, linediff_fn fn); |
278 | int *binary, int context, linediff_fn fn); |
278 | |
279 | |
279 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
280 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
280 | const unsigned char *new_sha1, |
281 | const unsigned char *new_sha1, |
281 | filepair_fn fn, const char *prefix); |
282 | filepair_fn fn, const char *prefix); |
282 | |
283 | |
283 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
284 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
|