notes: make get_note return pointer to struct object_id
[gitweb.git] / notes.h
diff --git a/notes.h b/notes.h
index 6651673ae1a7bb333ecb1863a02a0d64ad617b34..c72bb971060bc27965e0dd4ad859e7c768d6222e 100644 (file)
--- a/notes.h
+++ b/notes.h
@@ -140,7 +140,7 @@ int remove_note(struct notes_tree *t, const unsigned char *object_sha1);
  *
  * Return NULL if the given object has no notes.
  */
-const unsigned char *get_note(struct notes_tree *t,
+const struct object_id *get_note(struct notes_tree *t,
                const unsigned char *object_sha1);
 
 /*