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

dotgit: Move package outside internal. #854

Merged
merged 2 commits into from
Jun 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion plumbing/transport/test/receive_pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ func (s *ReceivePackSuite) receivePackNoCheck(c *C, ep *transport.Endpoint,
// fixtures are generated with read only permissions, this casuses
// errors deleting or modifying files.
rootPath := ep.Path
println("STAT", rootPath)
stat, err := os.Stat(ep.Path)

if rootPath != "" && err == nil && stat.IsDir() {
Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"gopkg.in/src-d/go-git.v4/config"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"
"gopkg.in/src-d/go-git.v4/utils/ioutil"
)

Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"gopkg.in/src-d/go-git.v4/config"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"

. "gopkg.in/check.v1"
"gopkg.in/src-d/go-billy.v4/osfs"
Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"

"gopkg.in/src-d/go-git.v4/plumbing/format/index"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"
"gopkg.in/src-d/go-git.v4/utils/ioutil"
)

Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package filesystem

import (
"gopkg.in/src-d/go-git.v4/storage"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"
)

type ModuleStorage struct {
Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing/format/objfile"
"gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
"gopkg.in/src-d/go-git.v4/plumbing/storer"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"
"gopkg.in/src-d/go-git.v4/storage/memory"
"gopkg.in/src-d/go-git.v4/utils/ioutil"

Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package filesystem

import (
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"

. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/reference.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package filesystem
import (
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/storer"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"
)

type ReferenceStorage struct {
Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/shallow.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"

"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"
"gopkg.in/src-d/go-git.v4/utils/ioutil"
)

Expand Down
2 changes: 1 addition & 1 deletion storage/filesystem/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package filesystem

import (
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"

"gopkg.in/src-d/go-billy.v4"
)
Expand Down