aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorJon Eskin <eskinjp@gmail.com>2022-08-10 04:10:58 -0400
committerMáximo Cuadros <mcuadros@gmail.com>2022-09-22 10:08:02 +0200
commitaf1efaa7dfb2a33de9c15597dd2cc65ea626cf35 (patch)
tree285e2c2899441bd162028bee9ac7ad31cec2d17d /storage
parentbc1f419cebcf7505db31149fa459e9e3f8260e00 (diff)
downloadgo-git-af1efaa7dfb2a33de9c15597dd2cc65ea626cf35.tar.gz
minor grammatical fixes
Diffstat (limited to 'storage')
-rw-r--r--storage/filesystem/shallow.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/shallow.go b/storage/filesystem/shallow.go
index afb600c..ac48fdf 100644
--- a/storage/filesystem/shallow.go
+++ b/storage/filesystem/shallow.go
@@ -34,7 +34,7 @@ func (s *ShallowStorage) SetShallow(commits []plumbing.Hash) error {
return err
}
-// Shallow return the shallow commits reading from shallo file from .git
+// Shallow returns the shallow commits reading from shallo file from .git
func (s *ShallowStorage) Shallow() ([]plumbing.Hash, error) {
f, err := s.dir.Shallow()
if f == nil || err != nil {