Blame src/notes.h

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