]> git.proxmox.com Git - libgit2.git/blob - src/notes.h
Merge pull request #1315 from nulltoken/development
[libgit2.git] / src / notes.h
1 /*
2 * Copyright (C) the libgit2 contributors. All rights reserved.
3 *
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
6 */
7 #ifndef INCLUDE_note_h__
8 #define INCLUDE_note_h__
9
10 #include "common.h"
11
12 #include "git2/oid.h"
13
14 #define GIT_NOTES_DEFAULT_REF "refs/notes/commits"
15
16 #define GIT_NOTES_DEFAULT_MSG_ADD \
17 "Notes added by 'git_note_create' from libgit2"
18
19 #define GIT_NOTES_DEFAULT_MSG_RM \
20 "Notes removed by 'git_note_remove' from libgit2"
21
22 struct git_note {
23 git_oid oid;
24
25 char *message;
26 };
27
28 #endif /* INCLUDE_notes_h__ */