notes.h 642 Bytes
Newer Older
schu committed
1
/*
Edward Thomson committed
2
 * Copyright (C) the libgit2 contributors. All rights reserved.
schu committed
3 4 5 6 7 8 9 10 11 12
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */
#ifndef INCLUDE_note_h__
#define INCLUDE_note_h__

#include "common.h"

#include "git2/oid.h"
13 14
#include "git2/types.h"

schu committed
15 16 17 18 19 20 21 22 23
#define GIT_NOTES_DEFAULT_REF "refs/notes/commits"

#define GIT_NOTES_DEFAULT_MSG_ADD \
	"Notes added by 'git_note_create' from libgit2"

#define GIT_NOTES_DEFAULT_MSG_RM \
	"Notes removed by 'git_note_remove' from libgit2"

struct git_note {
24
	git_oid id;
schu committed
25 26 27 28 29

	char *message;
};

#endif /* INCLUDE_notes_h__ */