|
Packit |
ae9e2a |
/*
|
|
Packit |
ae9e2a |
* Copyright (C) the libgit2 contributors. All rights reserved.
|
|
Packit |
ae9e2a |
*
|
|
Packit |
ae9e2a |
* This file is part of libgit2, distributed under the GNU GPL v2 with
|
|
Packit |
ae9e2a |
* a Linking Exception. For full terms see the included COPYING file.
|
|
Packit |
ae9e2a |
*/
|
|
Packit |
ae9e2a |
#ifndef INCLUDE_note_h__
|
|
Packit |
ae9e2a |
#define INCLUDE_note_h__
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
#include "common.h"
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
#include "git2/oid.h"
|
|
Packit |
ae9e2a |
#include "git2/types.h"
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
#define GIT_NOTES_DEFAULT_REF "refs/notes/commits"
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
#define GIT_NOTES_DEFAULT_MSG_ADD \
|
|
Packit |
ae9e2a |
"Notes added by 'git_note_create' from libgit2"
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
#define GIT_NOTES_DEFAULT_MSG_RM \
|
|
Packit |
ae9e2a |
"Notes removed by 'git_note_remove' from libgit2"
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
struct git_note {
|
|
Packit |
ae9e2a |
git_oid id;
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
git_signature *author;
|
|
Packit |
ae9e2a |
git_signature *committer;
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
char *message;
|
|
Packit |
ae9e2a |
};
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
#endif /* INCLUDE_notes_h__ */
|