aboutsummaryrefslogtreecommitdiffstats
path: root/object_walker.go
diff options
context:
space:
mode:
Diffstat (limited to 'object_walker.go')
-rw-r--r--object_walker.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/object_walker.go b/object_walker.go
index 8bae1fa..4cbbcca 100644
--- a/object_walker.go
+++ b/object_walker.go
@@ -36,10 +36,7 @@ func (p *objectWalker) walkAllRefs() error {
}
return p.walkObjectTree(ref.Hash())
})
- if err != nil {
- return err
- }
- return nil
+ return err
}
func (p *objectWalker) isSeen(hash plumbing.Hash) bool {