aboutsummaryrefslogtreecommitdiff
path: root/loose.go
diff options
context:
space:
mode:
Diffstat (limited to 'loose.go')
-rw-r--r--loose.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/loose.go b/loose.go
index 60cdfbc9..84ebd006 100644
--- a/loose.go
+++ b/loose.go
@@ -21,7 +21,7 @@ func (repo *Repository) loosePath(id Hash) (string, error) {
return filepath.Join("objects", hex[:2], hex[2:]), nil
}
-func (repo *Repository) looseRead(id Hash) (Object, error) {
+func (repo *Repository) looseRead(id Hash) (StoredObject, error) {
ty, body, err := repo.looseReadTyped(id)
if err != nil {
return nil, err