Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2010-02-14 00:28:13 +0300
committerJunio C Hamano <gitster@pobox.com>2010-02-14 06:36:12 +0300
commit2626b5367047d8b8d5c4555ec6b579ed37a6625d (patch)
tree2558dc64ff0f77b00958976c188158f00a105da3 /notes.h
parent709f79b0894859a6624e99b3a0c4714dd4ece494 (diff)
Notes API: add_note(): Add note objects to the internal notes tree structure
Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.h')
-rw-r--r--notes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/notes.h b/notes.h
index 6b527991b0..5f2285217e 100644
--- a/notes.h
+++ b/notes.h
@@ -21,6 +21,10 @@
*/
void init_notes(const char *notes_ref, int flags);
+/* Add the given note object to the internal notes tree structure */
+void add_note(const unsigned char *object_sha1,
+ const unsigned char *note_sha1);
+
/* Free (and de-initialize) the internal notes tree structure */
void free_notes(void);