summaryrefslogtreecommitdiffstats
path: root/notes-utils.h
diff options
context:
space:
mode:
authorPatryk Obara <patryk.obara@gmail.com>2018-01-28 01:13:16 +0100
committerJunio C Hamano <gitster@pobox.com>2018-01-30 10:42:36 -0800
commit5078f344591ee3c454e64ff73e6563f0a3f14950 (patch)
tree9e6bbf35347208196ce5bd7cc1c9178a06a8464f /notes-utils.h
parent3b34934dcaa4e643a3691ba1f10db054adf60ffb (diff)
downloadgit-5078f344591ee3c454e64ff73e6563f0a3f14950.tar.gz
git-5078f344591ee3c454e64ff73e6563f0a3f14950.tar.xz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/notes-utils.h b/notes-utils.h
index 119057839..5d79cbef5 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);