Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 9f00789

Browse files
authored
Merge pull request #862 from thehowl/patch-1
git: fix documentation for Notes
2 parents 5b1d537 + 960fe7b commit 9f00789

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

repository.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,8 @@ func (r *Repository) Branches() (storer.ReferenceIter, error) {
872872
}, refIter), nil
873873
}
874874

875-
// Notes returns all the References that are Branches.
875+
// Notes returns all the References that are notes. For more information:
876+
// https://git-scm.com/docs/git-notes
876877
func (r *Repository) Notes() (storer.ReferenceIter, error) {
877878
refIter, err := r.Storer.IterReferences()
878879
if err != nil {

0 commit comments

Comments
 (0)