2
0
mirror of https://git.zx2c4.com/cgit synced 2025-08-30 22:05:08 +00:00

Merge branch 'lh/binary'

This commit is contained in:
Lars Hjemli
2009-02-01 19:29:47 +01:00
7 changed files with 119 additions and 30 deletions

4
cgit.h
View File

@@ -15,6 +15,7 @@
#include <revision.h>
#include <log-tree.h>
#include <archive.h>
#include <xdiff-interface.h>
#include <xdiff/xdiff.h>
#include <utf8.h>
@@ -222,7 +223,8 @@ extern void *cgit_free_commitinfo(struct commitinfo *info);
extern int cgit_diff_files(const unsigned char *old_sha1,
const unsigned char *new_sha1,
linediff_fn fn);
unsigned long *old_size, unsigned long *new_size,
int *binary, linediff_fn fn);
extern void cgit_diff_tree(const unsigned char *old_sha1,
const unsigned char *new_sha1,