]> git.proxmox.com Git - libgit2.git/blob - src/notes.h
Bump debhelper compatibility level to 13
[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 #include "git2/types.h"
14
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 {
24 git_oid id;
25
26 git_signature *author;
27 git_signature *committer;
28
29 char *message;
30 };
31
32 #endif