MCPcopy Create free account
hub / github.com/google/git-appraise / getLocalNotesRef

Function getLocalNotesRef

repository/git.go:1041–1044  ·  view source on GitHub ↗
(remote, remoteNotesRef string)

Source from the content-addressed store, hash-verified

1039}
1040
1041func getLocalNotesRef(remote, remoteNotesRef string) string {
1042 relativeNotesRef := strings.TrimPrefix(remoteNotesRef, notesRefPrefix+"remotes/"+remote+"/")
1043 return notesRefPrefix + relativeNotesRef
1044}
1045
1046// MergeNotes merges in the remote's state of the notes reference into the
1047// local repository's.

Callers 1

MergeNotesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected