aboutsummaryrefslogtreecommitdiffstats
path: root/storage/seekable/internal/gitdir
diff options
context:
space:
mode:
authorAlberto Cortés <alcortesm@gmail.com>2016-08-02 10:58:49 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-08-02 10:58:49 +0200
commit5413c7aeadb7cb18a6d51dae0bc313f2e129a337 (patch)
tree9c4f02ea046f23974075856126e439ec270a74ab /storage/seekable/internal/gitdir
parentdc1e2bd485f8345c14cf7b22a5b71fd03028cfdf (diff)
downloadgo-git-5413c7aeadb7cb18a6d51dae0bc313f2e129a337.tar.gz
Repository head (#61)v3.1.1
* add Repository.Head() tests * add head support for remote repos and more tests * add head support for local repos * clean code * remove dead code
Diffstat (limited to 'storage/seekable/internal/gitdir')
-rw-r--r--storage/seekable/internal/gitdir/gitdir.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/seekable/internal/gitdir/gitdir.go b/storage/seekable/internal/gitdir/gitdir.go
index bfdf030..d3149ee 100644
--- a/storage/seekable/internal/gitdir/gitdir.go
+++ b/storage/seekable/internal/gitdir/gitdir.go
@@ -126,7 +126,7 @@ func (d *GitDir) Packfile() (fs.FS, string, error) {
return nil, "", ErrPackfileNotFound
}
-// Packfile returns the path of the idx file (really, it returns the
+// Idxfile returns the path of the idx file (really, it returns the
// path of the first file in the "objects/pack/" directory with an
// ".idx" extension.
func (d *GitDir) Idxfile() (fs.FS, string, error) {