summaryrefslogtreecommitdiff
path: root/diffcore.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-08-16 03:08:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-08-18 17:16:35 (GMT)
commit8e5dd3d654ebb9e86e06b9ef5ca86bd6ebf44de1 (patch)
tree00d5a967368cc5ca2d653c6013510198b77d78d0 /diffcore.h
parent735efde838b68747e737e863427a4843a8efaddb (diff)
downloadgit-8e5dd3d654ebb9e86e06b9ef5ca86bd6ebf44de1.zip
git-8e5dd3d654ebb9e86e06b9ef5ca86bd6ebf44de1.tar.gz
git-8e5dd3d654ebb9e86e06b9ef5ca86bd6ebf44de1.tar.bz2
diff.c: allow to pass more flags to diff_populate_filespec
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore.h')
-rw-r--r--diffcore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/diffcore.h b/diffcore.h
index c876dac..c80df18 100644
--- a/diffcore.h
+++ b/diffcore.h
@@ -55,7 +55,8 @@ extern void free_filespec(struct diff_filespec *);
extern void fill_filespec(struct diff_filespec *, const unsigned char *,
int, unsigned short);
-extern int diff_populate_filespec(struct diff_filespec *, int);
+#define CHECK_SIZE_ONLY 1
+extern int diff_populate_filespec(struct diff_filespec *, unsigned int);
extern void diff_free_filespec_data(struct diff_filespec *);
extern void diff_free_filespec_blob(struct diff_filespec *);
extern int diff_filespec_is_binary(struct diff_filespec *);