aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/internal
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-06-05 18:09:57 +0200
committerGitHub <noreply@github.com>2017-06-05 18:09:57 +0200
commit2a00316b65585be2bf68e1ea9c0e42c6af4f5679 (patch)
treebb6699e79ffd57b9141fe9c78300d69a3715885c /storage/filesystem/internal
parentb25c5ead44698a4a036435c8977581ea34f761dd (diff)
parent88f88ea4cf5d44065edda8b06c2267a9dccea16e (diff)
downloadgo-git-2a00316b65585be2bf68e1ea9c0e42c6af4f5679.tar.gz
Merge pull request #409 from smola/dirty-plainopen
storage/filesystem: call initialization explicitly, fixes #408
Diffstat (limited to 'storage/filesystem/internal')
-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 f9f4d79..1af64ab 100644
--- a/storage/filesystem/internal/dotgit/dotgit.go
+++ b/storage/filesystem/internal/dotgit/dotgit.go
@@ -231,7 +231,7 @@ func (d *DotGit) Objects() ([]plumbing.Hash, error) {
return objects, nil
}
-// Object return a fs.File poiting the object file, if exists
+// Object return a fs.File pointing the object file, if exists
func (d *DotGit) Object(h plumbing.Hash) (billy.File, error) {
hash := h.String()
file := d.fs.Join(objectsPath, hash[0:2], hash[2:40])