summaryrefslogtreecommitdiff
path: root/notes-utils.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-05-30 17:30:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-02 00:36:06 (GMT)
commitbb7e4739712e3f9eee0dfd60088b6d8983067960 (patch)
treea6f1b9377836b010f44c4442ffb13a0afb584752 /notes-utils.h
parentfb61e4d3abe2349eb0fabe0be8981626b4074fa7 (diff)
downloadgit-bb7e4739712e3f9eee0dfd60088b6d8983067960.zip
git-bb7e4739712e3f9eee0dfd60088b6d8983067960.tar.gz
git-bb7e4739712e3f9eee0dfd60088b6d8983067960.tar.bz2
builtin/notes: convert to struct object_id
Convert most of the static functions to use struct object_id. In addition, convert copy_notes_for_rewrite and its callers. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-utils.h')
-rw-r--r--notes-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/notes-utils.h b/notes-utils.h
index fa538e1..1190578 100644
--- a/notes-utils.h
+++ b/notes-utils.h
@@ -40,7 +40,7 @@ struct notes_rewrite_cfg {
int parse_notes_merge_strategy(const char *v, enum notes_merge_strategy *s);
struct notes_rewrite_cfg *init_copy_notes_for_rewrite(const char *cmd);
int copy_note_for_rewrite(struct notes_rewrite_cfg *c,
- const unsigned char *from_obj, const unsigned char *to_obj);
+ const struct object_id *from_obj, const struct object_id *to_obj);
void finish_copy_notes_for_rewrite(struct notes_rewrite_cfg *c, const char *msg);
#endif