diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-08-16 10:08:04 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-18 10:16:35 -0700 |
commit | 8e5dd3d654ebb9e86e06b9ef5ca86bd6ebf44de1 (patch) | |
tree | 00d5a967368cc5ca2d653c6013510198b77d78d0 /diffcore.h | |
parent | 735efde838b68747e737e863427a4843a8efaddb (diff) | |
download | git-8e5dd3d654ebb9e86e06b9ef5ca86bd6ebf44de1.tar.gz |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/diffcore.h b/diffcore.h index c876dac71a..c80df18f3c 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 *); |