2019-05-24 13:22:05 +05:30
|
|
|
// Copyright 2019 The Gitea Authors. All rights reserved.
|
2022-11-27 23:50:29 +05:30
|
|
|
// SPDX-License-Identifier: MIT
|
2019-05-24 13:22:05 +05:30
|
|
|
|
|
|
|
package git
|
|
|
|
|
|
|
|
// NotesRef is the git ref where Gitea will look for git-notes data.
|
|
|
|
// The value ("refs/notes/commits") is the default ref used by git-notes.
|
|
|
|
const NotesRef = "refs/notes/commits"
|
|
|
|
|
|
|
|
// Note stores information about a note created using git-notes.
|
|
|
|
type Note struct {
|
|
|
|
Message []byte
|
|
|
|
Commit *Commit
|
|
|
|
}
|