diff options
author | Santiago M. Mola <santi@mola.io> | 2017-06-05 18:09:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-05 18:09:57 +0200 |
commit | 2a00316b65585be2bf68e1ea9c0e42c6af4f5679 (patch) | |
tree | bb6699e79ffd57b9141fe9c78300d69a3715885c /storage/filesystem/internal/dotgit/dotgit.go | |
parent | b25c5ead44698a4a036435c8977581ea34f761dd (diff) | |
parent | 88f88ea4cf5d44065edda8b06c2267a9dccea16e (diff) | |
download | go-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/dotgit/dotgit.go')
-rw-r--r-- | storage/filesystem/internal/dotgit/dotgit.go | 2 |
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]) |