Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit ba08995

Browse files
committed
storage: filesystem fix modules folder, fix #413
1 parent 2d02297 commit ba08995

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/filesystem/internal/dotgit/dotgit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
configPath = "config"
2222
indexPath = "index"
2323
shallowPath = "shallow"
24-
modulePath = "module"
24+
modulePath = "modules"
2525
objectsPath = "objects"
2626
packPath = "pack"
2727
refsPath = "refs"

storage/filesystem/internal/dotgit/dotgit_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -466,5 +466,5 @@ func (s *SuiteDotGit) TestSubmodules(c *C) {
466466

467467
m, err := dir.Module("basic")
468468
c.Assert(err, IsNil)
469-
c.Assert(strings.HasSuffix(m.Root(), m.Join(".git", "module", "basic")), Equals, true)
469+
c.Assert(strings.HasSuffix(m.Root(), m.Join(".git", "modules", "basic")), Equals, true)
470470
}

0 commit comments

Comments
 (0)