summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-08-18 20:04:03 +0000
committerJunio C Hamano <gitster@pobox.com>2019-08-19 15:04:57 -0700
commit36261e42ec30477434f3325f279fd91a1d9eb434 (patch)
tree972fd8c6205ae9e1ccb6398a5b6aaba585633019 /diff.h
parent28ba1830d0533007d5cbc1110880c6599296029a (diff)
downloadgit-36261e42ec30477434f3325f279fd91a1d9eb434.tar.gz
patch-id: convert to use the_hash_algo
Convert the two separate patch-id implementations to use the_hash_algo in their implementation. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.h b/diff.h
index c2c3056810..7f8f024feb 100644
--- a/diff.h
+++ b/diff.h
@@ -438,7 +438,7 @@ 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);
-void flush_one_hunk(struct object_id *, git_SHA_CTX *);
+void flush_one_hunk(struct object_id *result, git_hash_ctx *ctx);
int diff_result_code(struct diff_options *, int);