diff options
author | Johan Herland <johan@herland.net> | 2010-02-13 22:28:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-13 19:36:12 -0800 |
commit | 1ec666b092d1df5691cd4d38f20aaeadd5049aa2 (patch) | |
tree | 7c4275958c6bff24b3ce9a90e68fe6104543c2dc /notes.h | |
parent | 2626b5367047d8b8d5c4555ec6b579ed37a6625d (diff) | |
download | git-1ec666b092d1df5691cd4d38f20aaeadd5049aa2.tar.gz git-1ec666b092d1df5691cd4d38f20aaeadd5049aa2.tar.xz |
Notes API: remove_note(): Remove note objects from the notes tree structure
This includes adding internal functions for maintaining a healthy notes tree
structure after removing individual notes.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ void init_notes(const char *notes_ref, int flags); void add_note(const unsigned char *object_sha1, const unsigned char *note_sha1); +/* Remove the given note object from the internal notes tree structure */ +void remove_note(const unsigned char *object_sha1); + /* Free (and de-initialize) the internal notes tree structure */ void free_notes(void); |