aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-08-30 18:35:39 +0200
committerJavi Fontan <jfontan@gmail.com>2018-08-30 18:35:39 +0200
commitd7e6cf5b73947108d0c16b9c04b38891de47ef5d (patch)
tree617c2f094805616439c3c170d6b42025bea506f6 /storage
parent82945e31dd8bce5fc51d4fd16d696a6d326e5f44 (diff)
downloadgo-git-d7e6cf5b73947108d0c16b9c04b38891de47ef5d.tar.gz
dotgit: fix typo in comment
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'storage')
-rw-r--r--storage/filesystem/dotgit/dotgit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/dotgit/dotgit.go b/storage/filesystem/dotgit/dotgit.go
index 41e5c75..c42ed88 100644
--- a/storage/filesystem/dotgit/dotgit.go
+++ b/storage/filesystem/dotgit/dotgit.go
@@ -300,7 +300,7 @@ func (d *DotGit) Objects() ([]plumbing.Hash, error) {
}
// ForEachObjectHash iterates over the hashes of objects found under the
-// .git/objects/ directory and executes the provided .
+// .git/objects/ directory and executes the provided function.
func (d *DotGit) ForEachObjectHash(fun func(plumbing.Hash) error) error {
if !d.Static {
return d.forEachObjectHash(fun)