summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-06-13 20:18:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-06-13 20:18:46 (GMT)
commit8202d12fca5d482640a51c663d4d556c46dbc6b8 (patch)
treef5440c439b27b06e00f5d0a5229e42bf7131c20e /diff.h
parentcf3269fba816d9b216b8b0d6e95ca6a345158de5 (diff)
parenta8f6855f48fd474719e92eecc66c29a28fdc0f46 (diff)
downloadgit-8202d12fca5d482640a51c663d4d556c46dbc6b8.zip
git-8202d12fca5d482640a51c663d4d556c46dbc6b8.tar.gz
git-8202d12fca5d482640a51c663d4d556c46dbc6b8.tar.bz2
Merge branch 'sb/format-patch-base-patch-id-fix'
The "--base" option of "format-patch" computed the patch-ids for prerequisite patches in an unstable way, which has been updated to compute in a way that is compatible with "git patch-id --stable". * sb/format-patch-base-patch-id-fix: format-patch: make --base patch-id output stable format-patch: inform user that patch-id generation is unstable
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/diff.h b/diff.h
index d5e44ba..b680b37 100644
--- a/diff.h
+++ b/diff.h
@@ -436,7 +436,8 @@ int run_diff_files(struct rev_info *revs, unsigned int option);
int run_diff_index(struct rev_info *revs, int cached);
int do_diff_cache(const struct object_id *, struct diff_options *);
-int diff_flush_patch_id(struct diff_options *, struct object_id *, int);
+int diff_flush_patch_id(struct diff_options *, struct object_id *, int, int);
+void flush_one_hunk(struct object_id *, git_SHA_CTX *);
int diff_result_code(struct diff_options *, int);