aboutsummaryrefslogtreecommitdiff
path: root/refs.go
diff options
context:
space:
mode:
Diffstat (limited to 'refs.go')
-rw-r--r--refs.go2
1 files changed, 1 insertions, 1 deletions
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:]