aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-03-28 10:59:33 +0200
committerJavi Fontan <jfontan@gmail.com>2018-03-28 10:59:33 +0200
commit6e07548d9078505ca2945f09d11729b14abcc907 (patch)
tree03ddc67b73733d0582367e9038c454353fa55955
parent7a02aee903bebd1f5023793c35171953c1d0a7cf (diff)
downloadgo-git-6e07548d9078505ca2945f09d11729b14abcc907.tar.gz
storage: filesystem/dotgit, fix typo in return param
Signed-off-by: Javi Fontan <jfontan@gmail.com>
-rw-r--r--storage/filesystem/internal/dotgit/dotgit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/internal/dotgit/dotgit.go b/storage/filesystem/internal/dotgit/dotgit.go
index 60d122f..6f0f1a5 100644
--- a/storage/filesystem/internal/dotgit/dotgit.go
+++ b/storage/filesystem/internal/dotgit/dotgit.go
@@ -375,7 +375,7 @@ func (d *DotGit) findPackedRefsInFile(f billy.File) ([]*plumbing.Reference, erro
return refs, s.Err()
}
-func (d *DotGit) findPackedRefs() (r []*plumbing.Reference, error error) {
+func (d *DotGit) findPackedRefs() (r []*plumbing.Reference, err error) {
f, err := d.fs.Open(packedRefsPath)
if err != nil {
if os.IsNotExist(err) {