aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--blame_test.go2
-rw-r--r--common_test.go2
-rw-r--r--doc.go2
-rw-r--r--fixtures/fixtures.go312
-rw-r--r--plumbing/difftree/difftree_test.go2
-rw-r--r--plumbing/format/idxfile/decoder_test.go2
-rw-r--r--plumbing/format/idxfile/encoder_test.go2
-rw-r--r--plumbing/format/index/decoder_test.go2
-rw-r--r--plumbing/format/packfile/decoder_test.go2
-rw-r--r--plumbing/format/packfile/encoder_test.go2
-rw-r--r--plumbing/format/packfile/scanner_test.go2
-rw-r--r--plumbing/object/commit_test.go2
-rw-r--r--plumbing/object/file_test.go2
-rw-r--r--plumbing/object/object_test.go2
-rw-r--r--plumbing/object/tag_test.go2
-rw-r--r--plumbing/revlist/revlist_test.go2
-rw-r--r--plumbing/transport/file/common_test.go2
-rw-r--r--plumbing/transport/file/receive_pack_test.go2
-rw-r--r--plumbing/transport/file/server_test.go2
-rw-r--r--plumbing/transport/file/upload_pack_test.go2
-rw-r--r--plumbing/transport/git/upload_pack_test.go2
-rw-r--r--plumbing/transport/server/server_test.go2
-rw-r--r--plumbing/transport/test/receive_pack.go2
-rw-r--r--references_test.go2
-rw-r--r--remote_test.go2
-rw-r--r--repository_test.go2
-rw-r--r--storage/filesystem/config_test.go2
-rw-r--r--storage/filesystem/internal/dotgit/dotgit_test.go2
-rw-r--r--storage/filesystem/internal/dotgit/writers_test.go2
-rw-r--r--storage/filesystem/object_test.go2
30 files changed, 29 insertions, 341 deletions
diff --git a/blame_test.go b/blame_test.go
index 857612d..be067e6 100644
--- a/blame_test.go
+++ b/blame_test.go
@@ -1,7 +1,7 @@
package git
import (
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
. "gopkg.in/check.v1"
diff --git a/common_test.go b/common_test.go
index c874c38..3b6ba65 100644
--- a/common_test.go
+++ b/common_test.go
@@ -4,7 +4,6 @@ import (
"fmt"
"testing"
- "gopkg.in/src-d/go-git.v4/fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
"gopkg.in/src-d/go-git.v4/plumbing/storer"
@@ -13,6 +12,7 @@ import (
"gopkg.in/src-d/go-git.v4/storage/filesystem"
"gopkg.in/src-d/go-git.v4/storage/memory"
+ "github.com/src-d/go-git-fixtures"
. "gopkg.in/check.v1"
"srcd.works/go-billy.v1/memfs"
"srcd.works/go-billy.v1/osfs"
diff --git a/doc.go b/doc.go
index 03367b8..7c54b29 100644
--- a/doc.go
+++ b/doc.go
@@ -34,4 +34,4 @@
// fmt.Println(commit)
// }
// }
-package git // import "gopkg.in/src-d/go-git.v4"
+package git
diff --git a/fixtures/fixtures.go b/fixtures/fixtures.go
deleted file mode 100644
index d467caf..0000000
--- a/fixtures/fixtures.go
+++ /dev/null
@@ -1,312 +0,0 @@
-package fixtures
-
-import (
- "errors"
- "fmt"
- "go/build"
- "io/ioutil"
- "os"
- "path/filepath"
-
- "gopkg.in/src-d/go-git.v4/plumbing"
-
- "github.com/alcortesm/tgz"
- "gopkg.in/check.v1"
- "srcd.works/go-billy.v1"
- "srcd.works/go-billy.v1/osfs"
-)
-
-var RootFolder = ""
-
-const DataFolder = "data"
-
-var folders = make(map[string]bool, 0)
-
-var fixtures = Fixtures{{
- Tags: []string{"packfile", "ofs-delta", ".git", "root-reference"},
- URL: "https://github.com/git-fixtures/root-references.git",
- Head: plumbing.NewHash("6ecf0ef2c2dffb796033e5a02219af86ec6584e5"),
- PackfileHash: plumbing.NewHash("135fe3d1ad828afe68706f1d481aedbcfa7a86d2"),
- DotGitHash: plumbing.NewHash("78c5fb882e76286d8201016cffee63ea7060a0c2"),
- ObjectsCount: 68,
-}, {
- Tags: []string{"packfile", "ofs-delta", ".git"},
- URL: "https://github.com/git-fixtures/basic.git",
- Head: plumbing.NewHash("6ecf0ef2c2dffb796033e5a02219af86ec6584e5"),
- PackfileHash: plumbing.NewHash("a3fed42da1e8189a077c0e6846c040dcf73fc9dd"),
- DotGitHash: plumbing.NewHash("7a725350b88b05ca03541b59dd0649fda7f521f2"),
- ObjectsCount: 31,
-}, {
- Tags: []string{"packfile", "ref-delta", ".git"},
- URL: "https://github.com/git-fixtures/basic.git",
- Head: plumbing.NewHash("6ecf0ef2c2dffb796033e5a02219af86ec6584e5"),
- PackfileHash: plumbing.NewHash("c544593473465e6315ad4182d04d366c4592b829"),
- DotGitHash: plumbing.NewHash("7cbde0ca02f13aedd5ec8b358ca17b1c0bf5ee64"),
- ObjectsCount: 31,
-}, {
- Tags: []string{"packfile", "ofs-delta", ".git", "single-branch"},
- URL: "https://github.com/git-fixtures/basic.git",
- Head: plumbing.NewHash("6ecf0ef2c2dffb796033e5a02219af86ec6584e5"),
- PackfileHash: plumbing.NewHash("61f0ee9c75af1f9678e6f76ff39fbe372b6f1c45"),
- DotGitHash: plumbing.NewHash("21504f6d2cc2ef0c9d6ebb8802c7b49abae40c1a"),
- ObjectsCount: 28,
-}, {
- Tags: []string{".git", "merge-conflict"},
- URL: "https://github.com/git-fixtures/basic.git",
- DotGitHash: plumbing.NewHash("4870d54b5b04e43da8cf99ceec179d9675494af8"),
-}, {
- Tags: []string{".git", "resolve-undo"},
- URL: "https://github.com/git-fixtures/basic.git",
- DotGitHash: plumbing.NewHash("df6781fd40b8f4911d70ce71f8387b991615cd6d"),
-}, {
- Tags: []string{".git", "intent-to-add"},
- URL: "https://github.com/git-fixtures/basic.git",
- DotGitHash: plumbing.NewHash("4e7600af05c3356e8b142263e127b76f010facfc"),
-}, {
- Tags: []string{".git", "index-v4"},
- URL: "https://github.com/git-fixtures/basic.git",
- DotGitHash: plumbing.NewHash("935e5ac17c41c309c356639816ea0694a568c484"),
-}, {
- Tags: []string{"worktree"},
- URL: "https://github.com/git-fixtures/basic.git",
- WorktreeHash: plumbing.NewHash("e4413db6700d0e72e7680b17c3d5ebbc2d1861bc"),
-}, {
- Tags: []string{"packfile", ".git", "unpacked", "multi-packfile"},
- URL: "https://github.com/src-d/go-git.git",
- Head: plumbing.NewHash("e8788ad9165781196e917292d6055cba1d78664e"),
- PackfileHash: plumbing.NewHash("3559b3b47e695b33b0913237a4df3357e739831c"),
- DotGitHash: plumbing.NewHash("174be6bd4292c18160542ae6dc6704b877b8a01a"),
- ObjectsCount: 2133,
-}, {
- Tags: []string{"packfile", ".git", "tags"},
- URL: "https://github.com/git-fixtures/tags.git",
- Head: plumbing.NewHash("f7b877701fbf855b44c0a9e86f3fdce2c298b07f"),
- DotGitHash: plumbing.NewHash("c0c7c57ab1753ddbd26cc45322299ddd12842794"),
- PackfileHash: plumbing.NewHash("b68617dd8637fe6409d9842825a843a1d9a6e484"),
- ObjectsCount: 7,
-}, {
- Tags: []string{"packfile"},
- URL: "https://github.com/spinnaker/spinnaker.git",
- Head: plumbing.NewHash("06ce06d0fc49646c4de733c45b7788aabad98a6f"),
- PackfileHash: plumbing.NewHash("f2e0a8889a746f7600e07d2246a2e29a72f696be"),
-}, {
- Tags: []string{"packfile"},
- URL: "https://github.com/jamesob/desk.git",
- Head: plumbing.NewHash("d2313db6e7ca7bac79b819d767b2a1449abb0a5d"),
- PackfileHash: plumbing.NewHash("4ec6344877f494690fc800aceaf2ca0e86786acb"),
-}, {
- Tags: []string{"packfile", "empty-folder"},
- URL: "https://github.com/cpcs499/Final_Pres_P.git",
- Head: plumbing.NewHash("70bade703ce556c2c7391a8065c45c943e8b6bc3"),
- PackfileHash: plumbing.NewHash("29f304662fd64f102d94722cf5bd8802d9a9472c"),
- DotGitHash: plumbing.NewHash("e1580a78f7d36791249df76df8a2a2613d629902"),
-}, {
- Tags: []string{"packfile", "diff-tree"},
- URL: "https://github.com/github/gem-builder.git",
- PackfileHash: plumbing.NewHash("1ea0b3971fd64fdcdf3282bfb58e8cf10095e4e6"),
-}, {
- Tags: []string{"packfile", "diff-tree"},
- URL: "https://github.com/githubtraining/example-branches.git",
- PackfileHash: plumbing.NewHash("bb8ee94710d3fa39379a630f76812c187217b312"),
-}, {
- Tags: []string{"packfile", "diff-tree"},
- URL: "https://github.com/rumpkernel/rumprun-xen.git",
- PackfileHash: plumbing.NewHash("7861f2632868833a35fe5e4ab94f99638ec5129b"),
-}, {
- Tags: []string{"packfile", "diff-tree"},
- URL: "https://github.com/mcuadros/skeetr.git",
- PackfileHash: plumbing.NewHash("36ef7a2296bfd526020340d27c5e1faa805d8d38"),
-}, {
- Tags: []string{"packfile", "diff-tree"},
- URL: "https://github.com/dezfowler/LiteMock.git",
- PackfileHash: plumbing.NewHash("0d9b6cfc261785837939aaede5986d7a7c212518"),
-}, {
- Tags: []string{"packfile", "diff-tree"},
- URL: "https://github.com/tyba/storable.git",
- PackfileHash: plumbing.NewHash("0d3d824fb5c930e7e7e1f0f399f2976847d31fd3"),
-}, {
- Tags: []string{"packfile", "diff-tree"},
- URL: "https://github.com/toqueteos/ts3.git",
- PackfileHash: plumbing.NewHash("21b33a26eb7ffbd35261149fe5d886b9debab7cb"),
-}, {
- Tags: []string{"empty", ".git"},
- URL: "https://github.com/git-fixtures/empty.git",
- DotGitHash: plumbing.NewHash("bf3fedcc8e20fd0dec9172987ceea0038d17b516"),
- ObjectsCount: 0,
-}}
-
-func All() Fixtures {
- return fixtures
-}
-
-func Basic() Fixtures {
- return ByURL("https://github.com/git-fixtures/basic.git").
- Exclude("single-branch")
-}
-
-func ByURL(url string) Fixtures {
- return fixtures.ByURL(url)
-}
-
-func ByTag(tag string) Fixtures {
- return fixtures.ByTag(tag)
-}
-
-type Fixture struct {
- URL string
- Tags []string
- Head plumbing.Hash
- PackfileHash plumbing.Hash
- DotGitHash plumbing.Hash
- WorktreeHash plumbing.Hash
- ObjectsCount int32
-}
-
-func (f *Fixture) Is(tag string) bool {
- for _, t := range f.Tags {
- if t == tag {
- return true
- }
- }
-
- return false
-}
-
-func (f *Fixture) Packfile() *os.File {
- fn := filepath.Join(RootFolder, DataFolder, fmt.Sprintf("pack-%s.pack", f.PackfileHash))
- file, err := os.Open(fn)
- if err != nil {
- panic(err)
- }
-
- return file
-}
-
-func (f *Fixture) Idx() *os.File {
- fn := filepath.Join(RootFolder, DataFolder, fmt.Sprintf("pack-%s.idx", f.PackfileHash))
- file, err := os.Open(fn)
- if err != nil {
- panic(err)
- }
-
- return file
-}
-
-// DotGit creates a new temporary directory and unpacks the repository .git
-// directory into it. Multiple calls to DotGit returns different directories.
-func (f *Fixture) DotGit() billy.Filesystem {
- fn := filepath.Join(RootFolder, DataFolder, fmt.Sprintf("git-%s.tgz", f.DotGitHash))
- path, err := tgz.Extract(fn)
- if err != nil {
- panic(err)
- }
-
- folders[path] = true
- return osfs.New(path)
-}
-
-func (f *Fixture) Worktree() billy.Filesystem {
- fn := filepath.Join(RootFolder, DataFolder, fmt.Sprintf("git-%s.tgz", f.DotGitHash))
- git, err := tgz.Extract(fn)
- if err != nil {
- panic(err)
- }
-
- worktree, err := ioutil.TempDir("", "worktree")
- if err != nil {
- panic(err)
- }
-
- if err := os.Rename(git, filepath.Join(worktree, ".git")); err != nil {
- panic(err)
- }
-
- return osfs.New(worktree)
-}
-
-type Fixtures []*Fixture
-
-func (g Fixtures) Test(c *check.C, test func(*Fixture)) {
- for _, f := range g {
- c.Logf("executing test at %s %s", f.URL, f.Tags)
- test(f)
- }
-}
-
-func (g Fixtures) One() *Fixture {
- return g[0]
-}
-
-func (g Fixtures) ByTag(tag string) Fixtures {
- r := make(Fixtures, 0)
- for _, f := range g {
- if f.Is(tag) {
- r = append(r, f)
- }
- }
-
- return r
-}
-func (g Fixtures) ByURL(url string) Fixtures {
- r := make(Fixtures, 0)
- for _, f := range g {
- if f.URL == url {
- r = append(r, f)
- }
- }
-
- return r
-}
-
-func (g Fixtures) Exclude(tag string) Fixtures {
- r := make(Fixtures, 0)
- for _, f := range g {
- if !f.Is(tag) {
- r = append(r, f)
- }
- }
-
- return r
-}
-
-// Init sets the correct path to access the fixtures files
-func Init() error {
- srcs := build.Default.SrcDirs()
-
- for _, src := range srcs {
- rf := filepath.Join(
- src, "gopkg.in/src-d/go-git.v4", "fixtures",
- )
-
- if _, err := os.Stat(rf); err == nil {
- RootFolder = rf
- return nil
- }
- }
-
- return errors.New("fixtures folder not found")
-}
-
-// Clean cleans all the temporal files created
-func Clean() error {
- for f := range folders {
- err := os.RemoveAll(f)
- if err != nil {
- return err
- }
-
- delete(folders, f)
- }
-
- return nil
-}
-
-type Suite struct{}
-
-func (s *Suite) SetUpSuite(c *check.C) {
- c.Assert(Init(), check.IsNil)
-}
-
-func (s *Suite) TearDownSuite(c *check.C) {
- c.Assert(Clean(), check.IsNil)
-}
diff --git a/plumbing/difftree/difftree_test.go b/plumbing/difftree/difftree_test.go
index d8ca6a8..f187ecc 100644
--- a/plumbing/difftree/difftree_test.go
+++ b/plumbing/difftree/difftree_test.go
@@ -4,7 +4,7 @@ import (
"sort"
"testing"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
"gopkg.in/src-d/go-git.v4/plumbing/object"
diff --git a/plumbing/format/idxfile/decoder_test.go b/plumbing/format/idxfile/decoder_test.go
index 5231e64..27aa59b 100644
--- a/plumbing/format/idxfile/decoder_test.go
+++ b/plumbing/format/idxfile/decoder_test.go
@@ -6,7 +6,7 @@ import (
"testing"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
"gopkg.in/src-d/go-git.v4/storage/memory"
)
diff --git a/plumbing/format/idxfile/encoder_test.go b/plumbing/format/idxfile/encoder_test.go
index 9a53863..fab87b3 100644
--- a/plumbing/format/idxfile/encoder_test.go
+++ b/plumbing/format/idxfile/encoder_test.go
@@ -5,7 +5,7 @@ import (
"io/ioutil"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
)
diff --git a/plumbing/format/index/decoder_test.go b/plumbing/format/index/decoder_test.go
index 47a8186..424c350 100644
--- a/plumbing/format/index/decoder_test.go
+++ b/plumbing/format/index/decoder_test.go
@@ -4,7 +4,7 @@ import (
"testing"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
)
diff --git a/plumbing/format/packfile/decoder_test.go b/plumbing/format/packfile/decoder_test.go
index 8cb5087..5b10032 100644
--- a/plumbing/format/packfile/decoder_test.go
+++ b/plumbing/format/packfile/decoder_test.go
@@ -5,7 +5,7 @@ import (
"srcd.works/go-billy.v1/memfs"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
"gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
diff --git a/plumbing/format/packfile/encoder_test.go b/plumbing/format/packfile/encoder_test.go
index dde8570..fa01ed0 100644
--- a/plumbing/format/packfile/encoder_test.go
+++ b/plumbing/format/packfile/encoder_test.go
@@ -3,7 +3,7 @@ package packfile
import (
"bytes"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/storage/memory"
diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go
index 8e9a593..f2aa5fb 100644
--- a/plumbing/format/packfile/scanner_test.go
+++ b/plumbing/format/packfile/scanner_test.go
@@ -5,7 +5,7 @@ import (
"io"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
)
diff --git a/plumbing/object/commit_test.go b/plumbing/object/commit_test.go
index abf92dd..d30e1c4 100644
--- a/plumbing/object/commit_test.go
+++ b/plumbing/object/commit_test.go
@@ -4,7 +4,7 @@ import (
"io"
"time"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
. "gopkg.in/check.v1"
diff --git a/plumbing/object/file_test.go b/plumbing/object/file_test.go
index f734455..58c7676 100644
--- a/plumbing/object/file_test.go
+++ b/plumbing/object/file_test.go
@@ -3,7 +3,7 @@ package object
import (
"io"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"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"
diff --git a/plumbing/object/object_test.go b/plumbing/object/object_test.go
index 877ae1d..4dd0777 100644
--- a/plumbing/object/object_test.go
+++ b/plumbing/object/object_test.go
@@ -6,7 +6,7 @@ import (
"testing"
"time"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"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"
diff --git a/plumbing/object/tag_test.go b/plumbing/object/tag_test.go
index 2b63115..deb961e 100644
--- a/plumbing/object/tag_test.go
+++ b/plumbing/object/tag_test.go
@@ -5,7 +5,7 @@ import (
"io"
"time"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/storage/filesystem"
"gopkg.in/src-d/go-git.v4/storage/memory"
diff --git a/plumbing/revlist/revlist_test.go b/plumbing/revlist/revlist_test.go
index 60ae660..0865e12 100644
--- a/plumbing/revlist/revlist_test.go
+++ b/plumbing/revlist/revlist_test.go
@@ -3,7 +3,7 @@ package revlist
import (
"testing"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/object"
"gopkg.in/src-d/go-git.v4/plumbing/storer"
diff --git a/plumbing/transport/file/common_test.go b/plumbing/transport/file/common_test.go
index cd7c400..3dc4500 100644
--- a/plumbing/transport/file/common_test.go
+++ b/plumbing/transport/file/common_test.go
@@ -5,7 +5,7 @@ import (
"os/exec"
"path/filepath"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
. "gopkg.in/check.v1"
"io/ioutil"
diff --git a/plumbing/transport/file/receive_pack_test.go b/plumbing/transport/file/receive_pack_test.go
index 1858492..5bbad44 100644
--- a/plumbing/transport/file/receive_pack_test.go
+++ b/plumbing/transport/file/receive_pack_test.go
@@ -3,7 +3,7 @@ package file
import (
"os"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing/transport/test"
. "gopkg.in/check.v1"
diff --git a/plumbing/transport/file/server_test.go b/plumbing/transport/file/server_test.go
index ff462e2..775b031 100644
--- a/plumbing/transport/file/server_test.go
+++ b/plumbing/transport/file/server_test.go
@@ -7,7 +7,7 @@ import (
"os"
"os/exec"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/file/upload_pack_test.go b/plumbing/transport/file/upload_pack_test.go
index d9adee2..e5915f0 100644
--- a/plumbing/transport/file/upload_pack_test.go
+++ b/plumbing/transport/file/upload_pack_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
"os"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing/transport"
"gopkg.in/src-d/go-git.v4/plumbing/transport/test"
diff --git a/plumbing/transport/git/upload_pack_test.go b/plumbing/transport/git/upload_pack_test.go
index d506075..d367a7f 100644
--- a/plumbing/transport/git/upload_pack_test.go
+++ b/plumbing/transport/git/upload_pack_test.go
@@ -1,7 +1,7 @@
package git
import (
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing/transport"
"gopkg.in/src-d/go-git.v4/plumbing/transport/test"
diff --git a/plumbing/transport/server/server_test.go b/plumbing/transport/server/server_test.go
index 2020fe3..2459ab2 100644
--- a/plumbing/transport/server/server_test.go
+++ b/plumbing/transport/server/server_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing/transport"
"gopkg.in/src-d/go-git.v4/plumbing/transport/client"
"gopkg.in/src-d/go-git.v4/plumbing/transport/server"
diff --git a/plumbing/transport/test/receive_pack.go b/plumbing/transport/test/receive_pack.go
index 107e733..f4be8c8 100644
--- a/plumbing/transport/test/receive_pack.go
+++ b/plumbing/transport/test/receive_pack.go
@@ -8,7 +8,7 @@ import (
"io"
"io/ioutil"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
"gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
diff --git a/references_test.go b/references_test.go
index 1223df6..af59c05 100644
--- a/references_test.go
+++ b/references_test.go
@@ -4,7 +4,7 @@ import (
"bytes"
"fmt"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/object"
diff --git a/remote_test.go b/remote_test.go
index 3d01672..60a2e29 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -8,7 +8,7 @@ import (
"os"
"gopkg.in/src-d/go-git.v4/config"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"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"
diff --git a/repository_test.go b/repository_test.go
index c46011b..b097b6f 100644
--- a/repository_test.go
+++ b/repository_test.go
@@ -10,7 +10,7 @@ import (
"strings"
"gopkg.in/src-d/go-git.v4/config"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/object"
"gopkg.in/src-d/go-git.v4/storage/filesystem"
diff --git a/storage/filesystem/config_test.go b/storage/filesystem/config_test.go
index 17ecec8..460f807 100644
--- a/storage/filesystem/config_test.go
+++ b/storage/filesystem/config_test.go
@@ -4,7 +4,7 @@ import (
"io/ioutil"
"os"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
. "gopkg.in/check.v1"
diff --git a/storage/filesystem/internal/dotgit/dotgit_test.go b/storage/filesystem/internal/dotgit/dotgit_test.go
index eb11478..4be8eea 100644
--- a/storage/filesystem/internal/dotgit/dotgit_test.go
+++ b/storage/filesystem/internal/dotgit/dotgit_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
. "gopkg.in/check.v1"
diff --git a/storage/filesystem/internal/dotgit/writers_test.go b/storage/filesystem/internal/dotgit/writers_test.go
index 65ef5dc..d4da164 100644
--- a/storage/filesystem/internal/dotgit/writers_test.go
+++ b/storage/filesystem/internal/dotgit/writers_test.go
@@ -8,7 +8,7 @@ import (
"os"
"strconv"
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
. "gopkg.in/check.v1"
"srcd.works/go-billy.v1/osfs"
diff --git a/storage/filesystem/object_test.go b/storage/filesystem/object_test.go
index 6841ac4..d741fa2 100644
--- a/storage/filesystem/object_test.go
+++ b/storage/filesystem/object_test.go
@@ -1,7 +1,7 @@
package filesystem
import (
- "gopkg.in/src-d/go-git.v4/fixtures"
+ "github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"