]> git.ipfire.org Git - thirdparty/git.git/blobdiff - notes-utils.h
Merge branch 'sg/t3420-autostash-fix'
[thirdparty/git.git] / notes-utils.h
index 11905783989aa0d87be08e0c4311762b4647e9a4..54083065283f681d8354af633b805a4896c8b036 100644 (file)
@@ -3,6 +3,9 @@
 
 #include "notes.h"
 
+struct commit_list;
+struct object_id;
+
 /*
  * Create new notes commit from the given notes tree
  *
@@ -15,7 +18,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);