From 5413c7aeadb7cb18a6d51dae0bc313f2e129a337 Mon Sep 17 00:00:00 2001 From: Alberto Cortés Date: Tue, 2 Aug 2016 10:58:49 +0200 Subject: Repository head (#61) * add Repository.Head() tests * add head support for remote repos and more tests * add head support for local repos * clean code * remove dead code --- storage/seekable/internal/gitdir/gitdir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage/seekable/internal/gitdir') 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) { -- cgit