From 3bde7664e748dd648f58c0a5280612c239dc0870 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Nov 2025 00:00:00 +0000 Subject: Unexport Repository.HashSize --- refs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'refs.go') diff --git a/refs.go b/refs.go index 36f7a962..ca1c61ad 100644 --- a/refs.go +++ b/refs.go @@ -55,7 +55,7 @@ func (repo *Repository) resolvePackedRef(refname string) (Hash, error) { continue } sp := bytes.IndexByte(line, ' ') - if sp != repo.HashSize*2 { + if sp != repo.hashSize*2 { continue } name := line[sp+1:] -- cgit v1.3.1-10-gc9f91