diff options
author | Patryk Obara <patryk.obara@gmail.com> | 2018-01-28 01:13:16 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-30 19:42:36 +0100 |
commit | 5078f344591ee3c454e64ff73e6563f0a3f14950 (patch) | |
tree | 9e6bbf35347208196ce5bd7cc1c9178a06a8464f /notes-utils.h | |
parent | match-trees: convert splice_tree to object_id (diff) | |
download | git-5078f344591ee3c454e64ff73e6563f0a3f14950.tar.xz git-5078f344591ee3c454e64ff73e6563f0a3f14950.zip |
commit: convert commit_tree* to object_id
Convert the definitions and declarations of commit_tree and
commit_tree_extended to use struct object_id and adjust all usages of
these functions.
Signed-off-by: Patryk Obara <patryk.obara@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-utils.h')
-rw-r--r-- | notes-utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/notes-utils.h b/notes-utils.h index 1190578398..5d79cbef51 100644 --- a/notes-utils.h +++ b/notes-utils.h @@ -15,7 +15,8 @@ * The resulting commit SHA1 is stored in result_sha1. */ void create_notes_commit(struct notes_tree *t, struct commit_list *parents, - const char *msg, size_t msg_len, unsigned char *result_sha1); + const char *msg, size_t msg_len, + struct object_id *result_oid); void commit_notes(struct notes_tree *t, const char *msg); |