Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/git-lfs/git-lfs
/ RemoteRefCommitish
Method
RemoteRefCommitish
git/refs.go:80–82 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
func
(u *RefUpdate) RemoteRefCommitish() string {
81
return
refCommitish(u.RemoteRef())
82
}
83
84
func
refCommitish(r *Ref) string {
85
if
len(r.Sha) > 0 {
Callers
1
TestRefUpdateExplicitLocalAndRemoteRefs
Function · 0.95
Calls
2
RemoteRef
Method · 0.95
refCommitish
Function · 0.85
Tested by
1
TestRefUpdateExplicitLocalAndRemoteRefs
Function · 0.76