diff options
author | Kevin Willford <kewillf@microsoft.com> | 2016-07-29 12:19:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-29 14:10:01 -0700 |
commit | 3e8e32c32ef8e49bcfd715837d51aca30925fdfe (patch) | |
tree | bae548134d89d11f6cb6a59992805f410a67da43 /diff.h | |
parent | 683f17ec440afafd2b375fd1b7a80a1aca219b4f (diff) | |
download | git-3e8e32c32ef8e49bcfd715837d51aca30925fdfe.tar.gz |
patch-ids: add flag to create the diff patch id using header only data
This will allow a diff patch id to be created using only the header data
so that the contents of the file will not have to be loaded.
Signed-off-by: Kevin Willford <kcwillford@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -342,7 +342,7 @@ extern int run_diff_files(struct rev_info *revs, unsigned int option); extern int run_diff_index(struct rev_info *revs, int cached); extern int do_diff_cache(const unsigned char *, struct diff_options *); -extern int diff_flush_patch_id(struct diff_options *, unsigned char *); +extern int diff_flush_patch_id(struct diff_options *, unsigned char *, int); extern int diff_result_code(struct diff_options *, int); |