]>
Commit | Line | Data |
---|---|---|
bf477ed4 | 1 | /* |
359fc2d2 | 2 | * Copyright (C) the libgit2 contributors. All rights reserved. |
bf477ed4 MS |
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" | |
6edb427b NG |
13 | #include "git2/types.h" |
14 | ||
bf477ed4 MS |
15 | #define GIT_NOTES_DEFAULT_REF "refs/notes/commits" |
16 | ||
17 | #define GIT_NOTES_DEFAULT_MSG_ADD \ | |
18 | "Notes added by 'git_note_create' from libgit2" | |
19 | ||
20 | #define GIT_NOTES_DEFAULT_MSG_RM \ | |
21 | "Notes removed by 'git_note_remove' from libgit2" | |
22 | ||
23 | struct git_note { | |
d0a3de72 | 24 | git_oid id; |
bf477ed4 | 25 | |
bad4937e ET |
26 | git_signature *author; |
27 | git_signature *committer; | |
28 | ||
bf477ed4 MS |
29 | char *message; |
30 | }; | |
31 | ||
eae0bfdc | 32 | #endif |