This commit is contained in:
窦韫 2026-03-13 08:34:13 +00:00 committed by GitHub
commit 6f32ef76f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,7 +90,7 @@ func (c *cache) setHead(head *git.Oid) {
}
func (c *cache) getHead() *git.Oid {
if head, ok := c.data["head"+c.branch]; ok {
if head, ok := c.data["head/"+c.branch]; ok {
return git.NewOidFromBytes(head)
}