summaryrefslogtreecommitdiffstats
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-06-13 22:18:46 +0200
committerJunio C Hamano <gitster@pobox.com>2019-06-13 22:18:46 +0200
commit8202d12fca5d482640a51c663d4d556c46dbc6b8 (patch)
treef5440c439b27b06e00f5d0a5229e42bf7131c20e /diff.h
parentMerge branch 'nd/init-relative-template-fix' (diff)
parentformat-patch: make --base patch-id output stable (diff)
downloadgit-8202d12fca5d482640a51c663d4d556c46dbc6b8.tar.xz
git-8202d12fca5d482640a51c663d4d556c46dbc6b8.zip
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 d5e44baa96..b680b377b2 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);