diff options
196 files changed, 484 insertions, 484 deletions
diff --git a/.travis.yml b/.travis.yml index e3c0085..0266676 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,10 +33,10 @@ before_install: - git config --global user.name "Travis CI" install: - - rm -rf $GOPATH/src/srcd.works - - mkdir -p $GOPATH/src/srcd.works - - ln -s $PWD $GOPATH/src/srcd.works/go-git.v4 - - cd $GOPATH/src/srcd.works/go-git.v4 + - rm -rf $GOPATH/src/gopkg.in/src-d + - mkdir -p $GOPATH/src/gopkg.in/src-d + - ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-git.v4 + - cd $GOPATH/src/gopkg.in/src-d/go-git.v4 - go get -v -t ./... script: @@ -16,7 +16,7 @@ COVERAGE_PROFILE = profile.out COVERAGE_MODE = atomic ifneq ($(origin CI), undefined) - WORKDIR := $(GOPATH)/src/srcd.works/go-git.v4 + WORKDIR := $(GOPATH)/src/gopkg.in/src-d/go-git.v4 endif build-git: @@ -1,4 +1,4 @@ -# go-git [![GoDoc](https://godoc.org/srcd.works/go-git.v4?status.svg)](https://godoc.org/github.com/src-d/go-git) [![Build Status](https://travis-ci.org/src-d/go-git.svg)](https://travis-ci.org/src-d/go-git) [![codecov.io](https://codecov.io/github/src-d/go-git/coverage.svg)](https://codecov.io/github/src-d/go-git) [![codebeat badge](https://codebeat.co/badges/b6cb2f73-9e54-483d-89f9-4b95a911f40c)](https://codebeat.co/projects/github-com-src-d-go-git) +# go-git [![GoDoc](https://godoc.org/gopkg.in/src-d/go-git.v4?status.svg)](https://godoc.org/github.com/src-d/go-git) [![Build Status](https://travis-ci.org/src-d/go-git.svg)](https://travis-ci.org/src-d/go-git) [![codecov.io](https://codecov.io/github/src-d/go-git/coverage.svg)](https://codecov.io/github/src-d/go-git) [![codebeat badge](https://codebeat.co/badges/b6cb2f73-9e54-483d-89f9-4b95a911f40c)](https://codebeat.co/projects/github-com-src-d-go-git) A highly extensible git implementation in **pure Go**. @@ -20,7 +20,7 @@ Installation The recommended way to install *go-git* is: ``` -go get -u srcd.works/go-git.v4/... +go get -u gopkg.in/src-d/go-git.v4/... ``` diff --git a/_examples/clone/main.go b/_examples/clone/main.go index 4a5efa2..1952e76 100644 --- a/_examples/clone/main.go +++ b/_examples/clone/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Basic example of how to clone a repository using clone options. diff --git a/_examples/common_test.go b/_examples/common_test.go index f65c1dc..cb101e2 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -66,7 +66,7 @@ func tempFolder() string { func packageFolder() string { return filepath.Join( build.Default.GOPATH, - "src", "srcd.works/go-git.v4", + "src", "gopkg.in/src-d/go-git.v4", ) } diff --git a/_examples/custom_http/main.go b/_examples/custom_http/main.go index f584da2..0d45080 100644 --- a/_examples/custom_http/main.go +++ b/_examples/custom_http/main.go @@ -7,11 +7,11 @@ import ( "os" "time" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/plumbing/transport/client" - githttp "srcd.works/go-git.v4/plumbing/transport/http" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/plumbing/transport/client" + githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Here is an example to configure http client according to our own needs. diff --git a/_examples/log/main.go b/_examples/log/main.go index 165cfa9..e13df2c 100644 --- a/_examples/log/main.go +++ b/_examples/log/main.go @@ -3,9 +3,9 @@ package main import ( "fmt" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Example of how to: diff --git a/_examples/open/main.go b/_examples/open/main.go index d4b54dc..0000f5e 100644 --- a/_examples/open/main.go +++ b/_examples/open/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Open an existing repository in a specific folder. diff --git a/_examples/progress/main.go b/_examples/progress/main.go index 6d68f84..357703c 100644 --- a/_examples/progress/main.go +++ b/_examples/progress/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of how to show the progress when you do a basic clone operation. diff --git a/_examples/push/main.go b/_examples/push/main.go index 809c26b..89d7773 100644 --- a/_examples/push/main.go +++ b/_examples/push/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of how to open a repository in a specific path, and push to diff --git a/_examples/remotes/main.go b/_examples/remotes/main.go index 06ffdd1..31c5cc5 100644 --- a/_examples/remotes/main.go +++ b/_examples/remotes/main.go @@ -3,11 +3,11 @@ package main import ( "fmt" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Example of how to: diff --git a/_examples/showcase/main.go b/_examples/showcase/main.go index aa99421..0170cd8 100644 --- a/_examples/showcase/main.go +++ b/_examples/showcase/main.go @@ -5,10 +5,10 @@ import ( "os" "strings" - "srcd.works/go-git.v4" - "srcd.works/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4" + "gopkg.in/src-d/go-git.v4/plumbing/object" - . "srcd.works/go-git.v4/_examples" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of an specific use case: @@ -8,9 +8,9 @@ import ( "strings" "unicode/utf8" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/utils/diff" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/utils/diff" ) // BlameResult represents the result of a Blame operation. diff --git a/blame_test.go b/blame_test.go index 855e1fc..8bef4d0 100644 --- a/blame_test.go +++ b/blame_test.go @@ -2,7 +2,7 @@ package git import ( "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/cli/go-git/receive_pack.go b/cli/go-git/receive_pack.go index fd44af5..0f96a28 100644 --- a/cli/go-git/receive_pack.go +++ b/cli/go-git/receive_pack.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "srcd.works/go-git.v4/plumbing/transport/file" + "gopkg.in/src-d/go-git.v4/plumbing/transport/file" ) type CmdReceivePack struct { diff --git a/cli/go-git/upload_pack.go b/cli/go-git/upload_pack.go index e954d43..da89de6 100644 --- a/cli/go-git/upload_pack.go +++ b/cli/go-git/upload_pack.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "srcd.works/go-git.v4/plumbing/transport/file" + "gopkg.in/src-d/go-git.v4/plumbing/transport/file" ) type CmdUploadPack struct { diff --git a/common_test.go b/common_test.go index 98c81b1..bd60385 100644 --- a/common_test.go +++ b/common_test.go @@ -4,16 +4,16 @@ import ( "fmt" "testing" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "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/transport" + "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" + "gopkg.in/src-d/go-billy.v2/memfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) func Test(t *testing.T) { TestingT(t) } diff --git a/config/config.go b/config/config.go index 259ebf9..e8c99a9 100644 --- a/config/config.go +++ b/config/config.go @@ -6,7 +6,7 @@ import ( "errors" "fmt" - format "srcd.works/go-git.v4/plumbing/format/config" + format "gopkg.in/src-d/go-git.v4/plumbing/format/config" ) const ( diff --git a/config/modules.go b/config/modules.go index 3d01117..24ef304 100644 --- a/config/modules.go +++ b/config/modules.go @@ -4,7 +4,7 @@ import ( "bytes" "errors" - format "srcd.works/go-git.v4/plumbing/format/config" + format "gopkg.in/src-d/go-git.v4/plumbing/format/config" ) var ( diff --git a/config/refspec.go b/config/refspec.go index 9441df8..7e4106a 100644 --- a/config/refspec.go +++ b/config/refspec.go @@ -4,7 +4,7 @@ import ( "errors" "strings" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) const ( diff --git a/config/refspec_test.go b/config/refspec_test.go index 6672cd2..5ee6108 100644 --- a/config/refspec_test.go +++ b/config/refspec_test.go @@ -4,7 +4,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type RefSpecSuite struct{} @@ -7,4 +7,4 @@ // It is highly extensible, we have been following the open/close principle in // its design to facilitate extensions, mainly focusing the efforts on the // persistence of the objects. -package git +package git // import "gopkg.in/src-d/go-git.v4" diff --git a/example_test.go b/example_test.go index 2478a02..abcbec7 100644 --- a/example_test.go +++ b/example_test.go @@ -8,12 +8,12 @@ import ( "os" "path/filepath" - "srcd.works/go-git.v4" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" - "srcd.works/go-billy.v1/memfs" + "gopkg.in/src-d/go-billy.v2/memfs" ) func ExampleClone() { @@ -3,10 +3,10 @@ package git import ( "errors" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp/sideband" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" + "gopkg.in/src-d/go-git.v4/plumbing/transport" ) // SubmoduleRescursivity defines how depth will affect any submodule recursive diff --git a/plumbing/cache/common.go b/plumbing/cache/common.go index 8da5fb8..7b90c55 100644 --- a/plumbing/cache/common.go +++ b/plumbing/cache/common.go @@ -1,6 +1,6 @@ package cache -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" const ( Byte FileSize = 1 << (iota * 10) diff --git a/plumbing/cache/object.go b/plumbing/cache/object.go index f1af4e3..44238ce 100644 --- a/plumbing/cache/object.go +++ b/plumbing/cache/object.go @@ -1,6 +1,6 @@ package cache -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" const ( initialQueueSize = 20 diff --git a/plumbing/cache/object_test.go b/plumbing/cache/object_test.go index e0d601a..80cd17b 100644 --- a/plumbing/cache/object_test.go +++ b/plumbing/cache/object_test.go @@ -4,7 +4,7 @@ import ( "io" "testing" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/cache/queue.go b/plumbing/cache/queue.go index 8c6d7d3..85413e0 100644 --- a/plumbing/cache/queue.go +++ b/plumbing/cache/queue.go @@ -1,6 +1,6 @@ package cache -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" // queue is a basic FIFO queue based on a circular list that resize as needed. type queue struct { diff --git a/plumbing/format/idxfile/decoder.go b/plumbing/format/idxfile/decoder.go index c1269a1..6618475 100644 --- a/plumbing/format/idxfile/decoder.go +++ b/plumbing/format/idxfile/decoder.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/idxfile/decoder_test.go b/plumbing/format/idxfile/decoder_test.go index 499762d..27aa59b 100644 --- a/plumbing/format/idxfile/decoder_test.go +++ b/plumbing/format/idxfile/decoder_test.go @@ -7,8 +7,8 @@ import ( . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" + "gopkg.in/src-d/go-git.v4/storage/memory" ) func Test(t *testing.T) { TestingT(t) } diff --git a/plumbing/format/idxfile/encoder.go b/plumbing/format/idxfile/encoder.go index 374d053..71e1b3f 100644 --- a/plumbing/format/idxfile/encoder.go +++ b/plumbing/format/idxfile/encoder.go @@ -6,7 +6,7 @@ import ( "io" "sort" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/utils/binary" ) // Encoder writes Idxfile structs to an output stream. diff --git a/plumbing/format/idxfile/encoder_test.go b/plumbing/format/idxfile/encoder_test.go index 2804aee..fab87b3 100644 --- a/plumbing/format/idxfile/encoder_test.go +++ b/plumbing/format/idxfile/encoder_test.go @@ -6,7 +6,7 @@ import ( . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) func (s *IdxfileSuite) TestEncode(c *C) { diff --git a/plumbing/format/idxfile/idxfile.go b/plumbing/format/idxfile/idxfile.go index b39295a..5a718f3 100644 --- a/plumbing/format/idxfile/idxfile.go +++ b/plumbing/format/idxfile/idxfile.go @@ -1,6 +1,6 @@ package idxfile -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" const ( // VersionSupported is the only idx version supported. diff --git a/plumbing/format/index/decoder.go b/plumbing/format/index/decoder.go index 59581da..4bc5af1 100644 --- a/plumbing/format/index/decoder.go +++ b/plumbing/format/index/decoder.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/index/decoder_test.go b/plumbing/format/index/decoder_test.go index 3a6e0d4..fd83ffb 100644 --- a/plumbing/format/index/decoder_test.go +++ b/plumbing/format/index/decoder_test.go @@ -3,8 +3,8 @@ package index import ( "testing" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/format/index/encoder.go b/plumbing/format/index/encoder.go index bdb10c1..d568f15 100644 --- a/plumbing/format/index/encoder.go +++ b/plumbing/format/index/encoder.go @@ -9,7 +9,7 @@ import ( "sort" "time" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/index/encoder_test.go b/plumbing/format/index/encoder_test.go index a6a0ea2..f76fafe 100644 --- a/plumbing/format/index/encoder_test.go +++ b/plumbing/format/index/encoder_test.go @@ -6,7 +6,7 @@ import ( "time" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) func (s *IndexSuite) TestEncode(c *C) { diff --git a/plumbing/format/index/index.go b/plumbing/format/index/index.go index e706058..ee50efd 100644 --- a/plumbing/format/index/index.go +++ b/plumbing/format/index/index.go @@ -4,8 +4,8 @@ import ( "errors" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" ) var ( diff --git a/plumbing/format/objfile/common_test.go b/plumbing/format/objfile/common_test.go index 26cf768..7c8b75c 100644 --- a/plumbing/format/objfile/common_test.go +++ b/plumbing/format/objfile/common_test.go @@ -5,7 +5,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type objfileFixture struct { diff --git a/plumbing/format/objfile/reader.go b/plumbing/format/objfile/reader.go index 2bf9762..e7e119c 100644 --- a/plumbing/format/objfile/reader.go +++ b/plumbing/format/objfile/reader.go @@ -6,8 +6,8 @@ import ( "io" "strconv" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/packfile" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" ) var ( diff --git a/plumbing/format/objfile/reader_test.go b/plumbing/format/objfile/reader_test.go index 2fcdc5b..715792d 100644 --- a/plumbing/format/objfile/reader_test.go +++ b/plumbing/format/objfile/reader_test.go @@ -8,7 +8,7 @@ import ( "io/ioutil" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type SuiteReader struct{} diff --git a/plumbing/format/objfile/writer.go b/plumbing/format/objfile/writer.go index 16199e5..5555243 100644 --- a/plumbing/format/objfile/writer.go +++ b/plumbing/format/objfile/writer.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) var ( diff --git a/plumbing/format/objfile/writer_test.go b/plumbing/format/objfile/writer_test.go index ae1031f..46dbea6 100644 --- a/plumbing/format/objfile/writer_test.go +++ b/plumbing/format/objfile/writer_test.go @@ -7,7 +7,7 @@ import ( "io" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type SuiteWriter struct{} diff --git a/plumbing/format/packfile/common.go b/plumbing/format/packfile/common.go index 930a80f..6402cd0 100644 --- a/plumbing/format/packfile/common.go +++ b/plumbing/format/packfile/common.go @@ -3,7 +3,7 @@ package packfile import ( "io" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) var signature = []byte{'P', 'A', 'C', 'K'} diff --git a/plumbing/format/packfile/common_test.go b/plumbing/format/packfile/common_test.go index 17d361e..387c0d1 100644 --- a/plumbing/format/packfile/common_test.go +++ b/plumbing/format/packfile/common_test.go @@ -3,7 +3,7 @@ package packfile import ( "testing" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/decoder.go b/plumbing/format/packfile/decoder.go index cd439b0..f3328ef 100644 --- a/plumbing/format/packfile/decoder.go +++ b/plumbing/format/packfile/decoder.go @@ -3,9 +3,9 @@ package packfile import ( "bytes" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/cache" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/cache" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) // Format specifies if the packfile uses ref-deltas or ofs-deltas. diff --git a/plumbing/format/packfile/decoder_test.go b/plumbing/format/packfile/decoder_test.go index bc40b30..f081fd7 100644 --- a/plumbing/format/packfile/decoder_test.go +++ b/plumbing/format/packfile/decoder_test.go @@ -3,15 +3,15 @@ package packfile_test import ( "io" - "srcd.works/go-billy.v1/memfs" + "gopkg.in/src-d/go-billy.v2/memfs" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/idxfile" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "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" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/delta_selector.go b/plumbing/format/packfile/delta_selector.go index 83bfc27..a73a209 100644 --- a/plumbing/format/packfile/delta_selector.go +++ b/plumbing/format/packfile/delta_selector.go @@ -3,8 +3,8 @@ package packfile import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) const ( diff --git a/plumbing/format/packfile/delta_selector_test.go b/plumbing/format/packfile/delta_selector_test.go index 2951ba7..9a8833f 100644 --- a/plumbing/format/packfile/delta_selector_test.go +++ b/plumbing/format/packfile/delta_selector_test.go @@ -1,8 +1,8 @@ package packfile import ( - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/diff_delta.go b/plumbing/format/packfile/diff_delta.go index c25e194..40d450f 100644 --- a/plumbing/format/packfile/diff_delta.go +++ b/plumbing/format/packfile/diff_delta.go @@ -3,7 +3,7 @@ package packfile import ( "io/ioutil" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) // See https://github.com/jelmer/dulwich/blob/master/dulwich/pack.py and diff --git a/plumbing/format/packfile/encoder.go b/plumbing/format/packfile/encoder.go index a0a13f8..ae83752 100644 --- a/plumbing/format/packfile/encoder.go +++ b/plumbing/format/packfile/encoder.go @@ -6,9 +6,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/binary" ) // Encoder gets the data from the storage and write it into the writer in PACK diff --git a/plumbing/format/packfile/encoder_test.go b/plumbing/format/packfile/encoder_test.go index 749a808..fa01ed0 100644 --- a/plumbing/format/packfile/encoder_test.go +++ b/plumbing/format/packfile/encoder_test.go @@ -4,8 +4,8 @@ import ( "bytes" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/object_pack.go b/plumbing/format/packfile/object_pack.go index cc978f4..a3e99c0 100644 --- a/plumbing/format/packfile/object_pack.go +++ b/plumbing/format/packfile/object_pack.go @@ -1,6 +1,6 @@ package packfile -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" // ObjectToPack is a representation of an object that is going to be into a // pack file. diff --git a/plumbing/format/packfile/object_pack_test.go b/plumbing/format/packfile/object_pack_test.go index 0d3f038..ddc7ab5 100644 --- a/plumbing/format/packfile/object_pack_test.go +++ b/plumbing/format/packfile/object_pack_test.go @@ -3,7 +3,7 @@ package packfile import ( "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/patch_delta.go b/plumbing/format/packfile/patch_delta.go index 1830cd7..840f840 100644 --- a/plumbing/format/packfile/patch_delta.go +++ b/plumbing/format/packfile/patch_delta.go @@ -3,7 +3,7 @@ package packfile import ( "io/ioutil" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) // See https://github.com/git/git/blob/49fa3dc76179e04b0833542fa52d0f287a4955ac/delta.h diff --git a/plumbing/format/packfile/scanner.go b/plumbing/format/packfile/scanner.go index eeb4b3b..d8cece6 100644 --- a/plumbing/format/packfile/scanner.go +++ b/plumbing/format/packfile/scanner.go @@ -10,8 +10,8 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go index 5f9fe1b..f2aa5fb 100644 --- a/plumbing/format/packfile/scanner_test.go +++ b/plumbing/format/packfile/scanner_test.go @@ -6,7 +6,7 @@ import ( . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type ScannerSuite struct { diff --git a/plumbing/format/pktline/encoder_test.go b/plumbing/format/pktline/encoder_test.go index 8bd8446..d1258af 100644 --- a/plumbing/format/pktline/encoder_test.go +++ b/plumbing/format/pktline/encoder_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/pktline/scanner_test.go b/plumbing/format/pktline/scanner_test.go index b3c8f35..b8a78ec 100644 --- a/plumbing/format/pktline/scanner_test.go +++ b/plumbing/format/pktline/scanner_test.go @@ -7,7 +7,7 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/blob.go b/plumbing/object/blob.go index 4c9e84d..2771416 100644 --- a/plumbing/object/blob.go +++ b/plumbing/object/blob.go @@ -3,9 +3,9 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Blob is used to store arbitrary data - it is generally a file. diff --git a/plumbing/object/blob_test.go b/plumbing/object/blob_test.go index 955aa46..5ed9de0 100644 --- a/plumbing/object/blob_test.go +++ b/plumbing/object/blob_test.go @@ -4,7 +4,7 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/change.go b/plumbing/object/change.go index 5e32e5b..d29836d 100644 --- a/plumbing/object/change.go +++ b/plumbing/object/change.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" ) // Change values represent a detected change between two git trees. For diff --git a/plumbing/object/change_adaptor.go b/plumbing/object/change_adaptor.go index e97fd93..cf8de6c 100644 --- a/plumbing/object/change_adaptor.go +++ b/plumbing/object/change_adaptor.go @@ -3,8 +3,8 @@ package object import ( "fmt" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // The folowing functions transform changes types form the merkletrie diff --git a/plumbing/object/change_adaptor_test.go b/plumbing/object/change_adaptor_test.go index b42a3b3..566e6de 100644 --- a/plumbing/object/change_adaptor_test.go +++ b/plumbing/object/change_adaptor_test.go @@ -3,12 +3,12 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/change_test.go b/plumbing/object/change_test.go index 4a144fa..3bab5d2 100644 --- a/plumbing/object/change_test.go +++ b/plumbing/object/change_test.go @@ -3,11 +3,11 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" fixtures "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/commit.go b/plumbing/object/commit.go index 7238f5c..fff4f53 100644 --- a/plumbing/object/commit.go +++ b/plumbing/object/commit.go @@ -8,9 +8,9 @@ import ( "sort" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Hash represents the hash of an object diff --git a/plumbing/object/commit_test.go b/plumbing/object/commit_test.go index be42906..d30e1c4 100644 --- a/plumbing/object/commit_test.go +++ b/plumbing/object/commit_test.go @@ -5,10 +5,10 @@ import ( "time" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/filesystem" ) type SuiteCommit struct { diff --git a/plumbing/object/commit_walker.go b/plumbing/object/commit_walker.go index 8d70abe..b986067 100644 --- a/plumbing/object/commit_walker.go +++ b/plumbing/object/commit_walker.go @@ -3,7 +3,7 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type commitWalker struct { diff --git a/plumbing/object/difftree.go b/plumbing/object/difftree.go index 3bc29cb..87a7153 100644 --- a/plumbing/object/difftree.go +++ b/plumbing/object/difftree.go @@ -3,8 +3,8 @@ package object import ( "bytes" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // DiffTree compares the content and mode of the blobs found via two diff --git a/plumbing/object/difftree_test.go b/plumbing/object/difftree_test.go index 11f6b23..eb68d4d 100644 --- a/plumbing/object/difftree_test.go +++ b/plumbing/object/difftree_test.go @@ -3,13 +3,13 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "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" + "gopkg.in/src-d/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/file.go b/plumbing/object/file.go index 5f24cf0..6932c31 100644 --- a/plumbing/object/file.go +++ b/plumbing/object/file.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // File represents git file objects. diff --git a/plumbing/object/file_test.go b/plumbing/object/file_test.go index 573664b..8c8634d 100644 --- a/plumbing/object/file_test.go +++ b/plumbing/object/file_test.go @@ -3,10 +3,10 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/object.go b/plumbing/object/object.go index ca5c541..701145d 100644 --- a/plumbing/object/object.go +++ b/plumbing/object/object.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) // ErrUnsupportedObject trigger when a non-supported object is being decoded. diff --git a/plumbing/object/object_test.go b/plumbing/object/object_test.go index 46b0065..6d9028f 100644 --- a/plumbing/object/object_test.go +++ b/plumbing/object/object_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/tag.go b/plumbing/object/tag.go index 549e337..2feeea7 100644 --- a/plumbing/object/tag.go +++ b/plumbing/object/tag.go @@ -7,9 +7,9 @@ import ( "io" stdioutil "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Tag represents an annotated tag object. It points to a single git object of diff --git a/plumbing/object/tag_test.go b/plumbing/object/tag_test.go index 8fbd932..deb961e 100644 --- a/plumbing/object/tag_test.go +++ b/plumbing/object/tag_test.go @@ -6,9 +6,9 @@ import ( "time" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "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" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/tree.go b/plumbing/object/tree.go index 071d064..e70b5cd 100644 --- a/plumbing/object/tree.go +++ b/plumbing/object/tree.go @@ -8,10 +8,10 @@ import ( "path" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) const ( diff --git a/plumbing/object/tree_test.go b/plumbing/object/tree_test.go index 69c0463..cf5ad5f 100644 --- a/plumbing/object/tree_test.go +++ b/plumbing/object/tree_test.go @@ -3,10 +3,10 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" fixtures "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/treenoder.go b/plumbing/object/treenoder.go index 80cd9b0..4da8298 100644 --- a/plumbing/object/treenoder.go +++ b/plumbing/object/treenoder.go @@ -11,9 +11,9 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) type treeNoder struct { diff --git a/plumbing/protocol/packp/advrefs.go b/plumbing/protocol/packp/advrefs.go index 6a59306..7d644bc 100644 --- a/plumbing/protocol/packp/advrefs.go +++ b/plumbing/protocol/packp/advrefs.go @@ -4,10 +4,10 @@ import ( "fmt" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // AdvRefs values represent the information transmitted on an diff --git a/plumbing/protocol/packp/advrefs_decode.go b/plumbing/protocol/packp/advrefs_decode.go index 8b651a6..e0a449e 100644 --- a/plumbing/protocol/packp/advrefs_decode.go +++ b/plumbing/protocol/packp/advrefs_decode.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // Decode reads the next advertised-refs message form its input and diff --git a/plumbing/protocol/packp/advrefs_decode_test.go b/plumbing/protocol/packp/advrefs_decode_test.go index cac83f9..e9a01f8 100644 --- a/plumbing/protocol/packp/advrefs_decode_test.go +++ b/plumbing/protocol/packp/advrefs_decode_test.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/advrefs_encode.go b/plumbing/protocol/packp/advrefs_encode.go index 6baca77..e981120 100644 --- a/plumbing/protocol/packp/advrefs_encode.go +++ b/plumbing/protocol/packp/advrefs_encode.go @@ -5,9 +5,9 @@ import ( "io" "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) // Encode writes the AdvRefs encoding to a writer. diff --git a/plumbing/protocol/packp/advrefs_encode_test.go b/plumbing/protocol/packp/advrefs_encode_test.go index d408021..f901440 100644 --- a/plumbing/protocol/packp/advrefs_encode_test.go +++ b/plumbing/protocol/packp/advrefs_encode_test.go @@ -4,9 +4,9 @@ import ( "bytes" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/advrefs_test.go b/plumbing/protocol/packp/advrefs_test.go index 38697fa..0180fd3 100644 --- a/plumbing/protocol/packp/advrefs_test.go +++ b/plumbing/protocol/packp/advrefs_test.go @@ -6,9 +6,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/common_test.go b/plumbing/protocol/packp/common_test.go index ab6a1e6..c055fee 100644 --- a/plumbing/protocol/packp/common_test.go +++ b/plumbing/protocol/packp/common_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/report_status.go b/plumbing/protocol/packp/report_status.go index dc83e36..29c1a4c 100644 --- a/plumbing/protocol/packp/report_status.go +++ b/plumbing/protocol/packp/report_status.go @@ -6,8 +6,8 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) const ( diff --git a/plumbing/protocol/packp/report_status_test.go b/plumbing/protocol/packp/report_status_test.go index d3681a9..1c3fa81 100644 --- a/plumbing/protocol/packp/report_status_test.go +++ b/plumbing/protocol/packp/report_status_test.go @@ -3,8 +3,8 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/shallowupd.go b/plumbing/protocol/packp/shallowupd.go index 84ba867..40f58e8 100644 --- a/plumbing/protocol/packp/shallowupd.go +++ b/plumbing/protocol/packp/shallowupd.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) const ( diff --git a/plumbing/protocol/packp/shallowupd_test.go b/plumbing/protocol/packp/shallowupd_test.go index 117af22..97a13fc 100644 --- a/plumbing/protocol/packp/shallowupd_test.go +++ b/plumbing/protocol/packp/shallowupd_test.go @@ -3,7 +3,7 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/sideband/demux.go b/plumbing/protocol/packp/sideband/demux.go index f82adc2..352336d 100644 --- a/plumbing/protocol/packp/sideband/demux.go +++ b/plumbing/protocol/packp/sideband/demux.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // ErrMaxPackedExceeded returned by Read, if the maximum packed size is exceeded diff --git a/plumbing/protocol/packp/sideband/demux_test.go b/plumbing/protocol/packp/sideband/demux_test.go index 98e5059..3d2d6ed 100644 --- a/plumbing/protocol/packp/sideband/demux_test.go +++ b/plumbing/protocol/packp/sideband/demux_test.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "testing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/sideband/muxer.go b/plumbing/protocol/packp/sideband/muxer.go index 9cbf4e7..45fecc2 100644 --- a/plumbing/protocol/packp/sideband/muxer.go +++ b/plumbing/protocol/packp/sideband/muxer.go @@ -3,7 +3,7 @@ package sideband import ( "io" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // Muxer multiplex the packfile along with the progress messages and the error diff --git a/plumbing/protocol/packp/srvresp.go b/plumbing/protocol/packp/srvresp.go index 4c1d6db..0c89e47 100644 --- a/plumbing/protocol/packp/srvresp.go +++ b/plumbing/protocol/packp/srvresp.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) const ackLineLen = 44 diff --git a/plumbing/protocol/packp/srvresp_test.go b/plumbing/protocol/packp/srvresp_test.go index c2287d6..6078855 100644 --- a/plumbing/protocol/packp/srvresp_test.go +++ b/plumbing/protocol/packp/srvresp_test.go @@ -3,7 +3,7 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq.go b/plumbing/protocol/packp/ulreq.go index f025559..7832007 100644 --- a/plumbing/protocol/packp/ulreq.go +++ b/plumbing/protocol/packp/ulreq.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) // UploadRequest values represent the information transmitted on a diff --git a/plumbing/protocol/packp/ulreq_decode.go b/plumbing/protocol/packp/ulreq_decode.go index 02237db..bcd642d 100644 --- a/plumbing/protocol/packp/ulreq_decode.go +++ b/plumbing/protocol/packp/ulreq_decode.go @@ -8,8 +8,8 @@ import ( "strconv" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // Decode reads the next upload-request form its input and diff --git a/plumbing/protocol/packp/ulreq_decode_test.go b/plumbing/protocol/packp/ulreq_decode_test.go index befef9f..82a4e1f 100644 --- a/plumbing/protocol/packp/ulreq_decode_test.go +++ b/plumbing/protocol/packp/ulreq_decode_test.go @@ -6,9 +6,9 @@ import ( "sort" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq_encode.go b/plumbing/protocol/packp/ulreq_encode.go index a55a86e..4a26e74 100644 --- a/plumbing/protocol/packp/ulreq_encode.go +++ b/plumbing/protocol/packp/ulreq_encode.go @@ -6,8 +6,8 @@ import ( "io" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // Encode writes the UlReq encoding of u to the stream. diff --git a/plumbing/protocol/packp/ulreq_encode_test.go b/plumbing/protocol/packp/ulreq_encode_test.go index 40d2888..0890678 100644 --- a/plumbing/protocol/packp/ulreq_encode_test.go +++ b/plumbing/protocol/packp/ulreq_encode_test.go @@ -4,9 +4,9 @@ import ( "bytes" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq_test.go b/plumbing/protocol/packp/ulreq_test.go index 0b0d4c0..f000b91 100644 --- a/plumbing/protocol/packp/ulreq_test.go +++ b/plumbing/protocol/packp/ulreq_test.go @@ -6,9 +6,9 @@ import ( "strings" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/updreq.go b/plumbing/protocol/packp/updreq.go index 0f6a65a..0624930 100644 --- a/plumbing/protocol/packp/updreq.go +++ b/plumbing/protocol/packp/updreq.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) var ( diff --git a/plumbing/protocol/packp/updreq_decode.go b/plumbing/protocol/packp/updreq_decode.go index 9760ceb..c15d49c 100644 --- a/plumbing/protocol/packp/updreq_decode.go +++ b/plumbing/protocol/packp/updreq_decode.go @@ -8,8 +8,8 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) var ( diff --git a/plumbing/protocol/packp/updreq_decode_test.go b/plumbing/protocol/packp/updreq_decode_test.go index 4c845ae..c084334 100644 --- a/plumbing/protocol/packp/updreq_decode_test.go +++ b/plumbing/protocol/packp/updreq_decode_test.go @@ -5,8 +5,8 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/updreq_encode.go b/plumbing/protocol/packp/updreq_encode.go index a800c52..44c0573 100644 --- a/plumbing/protocol/packp/updreq_encode.go +++ b/plumbing/protocol/packp/updreq_encode.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) var ( diff --git a/plumbing/protocol/packp/updreq_encode_test.go b/plumbing/protocol/packp/updreq_encode_test.go index 9c29dff..77b715d 100644 --- a/plumbing/protocol/packp/updreq_encode_test.go +++ b/plumbing/protocol/packp/updreq_encode_test.go @@ -3,8 +3,8 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" "io/ioutil" diff --git a/plumbing/protocol/packp/updreq_test.go b/plumbing/protocol/packp/updreq_test.go index 72b5e3c..2412fbf 100644 --- a/plumbing/protocol/packp/updreq_test.go +++ b/plumbing/protocol/packp/updreq_test.go @@ -1,7 +1,7 @@ package packp import ( - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/uppackreq.go b/plumbing/protocol/packp/uppackreq.go index 2e6ad00..4bb22d0 100644 --- a/plumbing/protocol/packp/uppackreq.go +++ b/plumbing/protocol/packp/uppackreq.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) // UploadPackRequest represents a upload-pack request. diff --git a/plumbing/protocol/packp/uppackreq_test.go b/plumbing/protocol/packp/uppackreq_test.go index 2048236..f776c07 100644 --- a/plumbing/protocol/packp/uppackreq_test.go +++ b/plumbing/protocol/packp/uppackreq_test.go @@ -3,8 +3,8 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/uppackresp.go b/plumbing/protocol/packp/uppackresp.go index be74f39..ac456f3 100644 --- a/plumbing/protocol/packp/uppackresp.go +++ b/plumbing/protocol/packp/uppackresp.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // ErrUploadPackResponseNotDecoded is returned if Read is called without diff --git a/plumbing/protocol/packp/uppackresp_test.go b/plumbing/protocol/packp/uppackresp_test.go index 080d779..c27fdda 100644 --- a/plumbing/protocol/packp/uppackresp_test.go +++ b/plumbing/protocol/packp/uppackresp_test.go @@ -4,10 +4,10 @@ import ( "bytes" "io/ioutil" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type UploadPackResponseSuite struct{} diff --git a/plumbing/revlist/revlist.go b/plumbing/revlist/revlist.go index 5731474..eb9afaf 100644 --- a/plumbing/revlist/revlist.go +++ b/plumbing/revlist/revlist.go @@ -6,9 +6,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/plumbing/storer" + "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" ) // Objects applies a complementary set. It gets all the hashes from all diff --git a/plumbing/revlist/revlist_test.go b/plumbing/revlist/revlist_test.go index ca69975..0baf27e 100644 --- a/plumbing/revlist/revlist_test.go +++ b/plumbing/revlist/revlist_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "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" + "gopkg.in/src-d/go-git.v4/storage/filesystem" . "gopkg.in/check.v1" ) diff --git a/plumbing/storer/index.go b/plumbing/storer/index.go index 8148454..e087296 100644 --- a/plumbing/storer/index.go +++ b/plumbing/storer/index.go @@ -1,6 +1,6 @@ package storer -import "srcd.works/go-git.v4/plumbing/format/index" +import "gopkg.in/src-d/go-git.v4/plumbing/format/index" // IndexStorer generic storage of index.Index type IndexStorer interface { diff --git a/plumbing/storer/object.go b/plumbing/storer/object.go index 30ab689..a733ee6 100644 --- a/plumbing/storer/object.go +++ b/plumbing/storer/object.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) var ( diff --git a/plumbing/storer/object_test.go b/plumbing/storer/object_test.go index 5726156..6bdd25c 100644 --- a/plumbing/storer/object_test.go +++ b/plumbing/storer/object_test.go @@ -5,7 +5,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) func Test(t *testing.T) { TestingT(t) } diff --git a/plumbing/storer/reference.go b/plumbing/storer/reference.go index a261486..988c784 100644 --- a/plumbing/storer/reference.go +++ b/plumbing/storer/reference.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) const MaxResolveRecursion = 1024 diff --git a/plumbing/storer/reference_test.go b/plumbing/storer/reference_test.go index a6e301b..5738eef 100644 --- a/plumbing/storer/reference_test.go +++ b/plumbing/storer/reference_test.go @@ -5,7 +5,7 @@ import ( "io" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type ReferenceSuite struct{} diff --git a/plumbing/storer/shallow.go b/plumbing/storer/shallow.go index a38e751..39aaaa5 100644 --- a/plumbing/storer/shallow.go +++ b/plumbing/storer/shallow.go @@ -1,6 +1,6 @@ package storer -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" // ShallowStorer is a storage of references to shallow commits by hash, // meaning that these commits have missing parents because of a shallow fetch. diff --git a/plumbing/transport/client/client.go b/plumbing/transport/client/client.go index ea1e034..a398a74 100644 --- a/plumbing/transport/client/client.go +++ b/plumbing/transport/client/client.go @@ -5,11 +5,11 @@ package client import ( "fmt" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/file" - "srcd.works/go-git.v4/plumbing/transport/git" - "srcd.works/go-git.v4/plumbing/transport/http" - "srcd.works/go-git.v4/plumbing/transport/ssh" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/file" + "gopkg.in/src-d/go-git.v4/plumbing/transport/git" + "gopkg.in/src-d/go-git.v4/plumbing/transport/http" + "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" ) // Protocols are the protocols supported by default. diff --git a/plumbing/transport/client/client_test.go b/plumbing/transport/client/client_test.go index 0377d34..2b686b6 100644 --- a/plumbing/transport/client/client_test.go +++ b/plumbing/transport/client/client_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/client/example_test.go b/plumbing/transport/client/example_test.go index 8d38673..3e7a4f0 100644 --- a/plumbing/transport/client/example_test.go +++ b/plumbing/transport/client/example_test.go @@ -4,8 +4,8 @@ import ( "crypto/tls" "net/http" - "srcd.works/go-git.v4/plumbing/transport/client" - githttp "srcd.works/go-git.v4/plumbing/transport/http" + "gopkg.in/src-d/go-git.v4/plumbing/transport/client" + githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http" ) func ExampleInstallProtocol() { diff --git a/plumbing/transport/common.go b/plumbing/transport/common.go index 6144ffb..3fcdef2 100644 --- a/plumbing/transport/common.go +++ b/plumbing/transport/common.go @@ -19,9 +19,9 @@ import ( "net/url" "regexp" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) var ( diff --git a/plumbing/transport/common_test.go b/plumbing/transport/common_test.go index d6a07b4..e9a5efa 100644 --- a/plumbing/transport/common_test.go +++ b/plumbing/transport/common_test.go @@ -3,7 +3,7 @@ package transport import ( "testing" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/file/client.go b/plumbing/transport/file/client.go index 47a6adc..58e60db 100644 --- a/plumbing/transport/file/client.go +++ b/plumbing/transport/file/client.go @@ -5,8 +5,8 @@ import ( "io" "os/exec" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/internal/common" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" ) // DefaultClient is the default local client. diff --git a/plumbing/transport/file/client_test.go b/plumbing/transport/file/client_test.go index 0e518e5..220df3d 100644 --- a/plumbing/transport/file/client_test.go +++ b/plumbing/transport/file/client_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/file/receive_pack_test.go b/plumbing/transport/file/receive_pack_test.go index a2b0d89..5bbad44 100644 --- a/plumbing/transport/file/receive_pack_test.go +++ b/plumbing/transport/file/receive_pack_test.go @@ -4,7 +4,7 @@ import ( "os" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport/test" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/file/server.go b/plumbing/transport/file/server.go index 11f819a..74085c2 100644 --- a/plumbing/transport/file/server.go +++ b/plumbing/transport/file/server.go @@ -4,10 +4,10 @@ import ( "fmt" "os" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/internal/common" - "srcd.works/go-git.v4/plumbing/transport/server" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" + "gopkg.in/src-d/go-git.v4/plumbing/transport/server" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // ServeUploadPack serves a git-upload-pack request using standard output, input diff --git a/plumbing/transport/file/upload_pack_test.go b/plumbing/transport/file/upload_pack_test.go index c25680f..e5915f0 100644 --- a/plumbing/transport/file/upload_pack_test.go +++ b/plumbing/transport/file/upload_pack_test.go @@ -5,8 +5,8 @@ import ( "os" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/test" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/git/common.go b/plumbing/transport/git/common.go index fee3bf3..24134c1 100644 --- a/plumbing/transport/git/common.go +++ b/plumbing/transport/git/common.go @@ -7,10 +7,10 @@ import ( "net" "strings" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/internal/common" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // DefaultClient is the default git client. diff --git a/plumbing/transport/git/upload_pack_test.go b/plumbing/transport/git/upload_pack_test.go index 6f614a7..d367a7f 100644 --- a/plumbing/transport/git/upload_pack_test.go +++ b/plumbing/transport/git/upload_pack_test.go @@ -2,8 +2,8 @@ package git import ( "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/test" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/http/common.go b/plumbing/transport/http/common.go index 3cc2bd4..baad12e 100644 --- a/plumbing/transport/http/common.go +++ b/plumbing/transport/http/common.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" + "gopkg.in/src-d/go-git.v4/plumbing/transport" ) type client struct { diff --git a/plumbing/transport/http/common_test.go b/plumbing/transport/http/common_test.go index eaaeac9..1fd0dd5 100644 --- a/plumbing/transport/http/common_test.go +++ b/plumbing/transport/http/common_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/http/receive_pack.go b/plumbing/transport/http/receive_pack.go index 4f2d3e9..7a37049 100644 --- a/plumbing/transport/http/receive_pack.go +++ b/plumbing/transport/http/receive_pack.go @@ -4,8 +4,8 @@ import ( "errors" "net/http" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" + "gopkg.in/src-d/go-git.v4/plumbing/transport" ) var errReceivePackNotSupported = errors.New("receive-pack not supported yet") diff --git a/plumbing/transport/http/upload_pack.go b/plumbing/transport/http/upload_pack.go index 679d3c9..fd1787c 100644 --- a/plumbing/transport/http/upload_pack.go +++ b/plumbing/transport/http/upload_pack.go @@ -7,12 +7,12 @@ import ( "net/http" "strconv" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/internal/common" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) type upSession struct { diff --git a/plumbing/transport/http/upload_pack_test.go b/plumbing/transport/http/upload_pack_test.go index 2035ddc..a793efb 100644 --- a/plumbing/transport/http/upload_pack_test.go +++ b/plumbing/transport/http/upload_pack_test.go @@ -3,10 +3,10 @@ package http import ( "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/test" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/internal/common/common.go b/plumbing/transport/internal/common/common.go index d089978..f67ae29 100644 --- a/plumbing/transport/internal/common/common.go +++ b/plumbing/transport/internal/common/common.go @@ -13,11 +13,11 @@ import ( "strings" "time" - "srcd.works/go-git.v4/plumbing/format/pktline" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) const ( diff --git a/plumbing/transport/internal/common/server.go b/plumbing/transport/internal/common/server.go index 2137f8d..dd6cfbe 100644 --- a/plumbing/transport/internal/common/server.go +++ b/plumbing/transport/internal/common/server.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // ServerCommand is used for a single server command execution. diff --git a/plumbing/transport/server/loader.go b/plumbing/transport/server/loader.go index 0804412..cfe9f04 100644 --- a/plumbing/transport/server/loader.go +++ b/plumbing/transport/server/loader.go @@ -1,12 +1,12 @@ package server import ( - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/storage/filesystem" - "srcd.works/go-billy.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2" + "gopkg.in/src-d/go-billy.v2/osfs" ) // DefaultLoader is a filesystem loader ignoring host and resolving paths to /. diff --git a/plumbing/transport/server/loader_test.go b/plumbing/transport/server/loader_test.go index d5d431a..b4a8c37 100644 --- a/plumbing/transport/server/loader_test.go +++ b/plumbing/transport/server/loader_test.go @@ -5,7 +5,7 @@ import ( "os/exec" "path/filepath" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/server/receive_pack_test.go b/plumbing/transport/server/receive_pack_test.go index f7ba268..73ba60b 100644 --- a/plumbing/transport/server/receive_pack_test.go +++ b/plumbing/transport/server/receive_pack_test.go @@ -1,8 +1,8 @@ package server_test import ( - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/test" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/server/server.go b/plumbing/transport/server/server.go index c670d19..89fce5f 100644 --- a/plumbing/transport/server/server.go +++ b/plumbing/transport/server/server.go @@ -7,13 +7,13 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" - "srcd.works/go-git.v4/plumbing/revlist" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/plumbing/transport" + "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" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/revlist" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing/transport" ) var DefaultServer = NewServer(DefaultLoader) diff --git a/plumbing/transport/server/server_test.go b/plumbing/transport/server/server_test.go index b266196..2459ab2 100644 --- a/plumbing/transport/server/server_test.go +++ b/plumbing/transport/server/server_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/client" - "srcd.works/go-git.v4/plumbing/transport/server" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "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" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/server/upload_pack_test.go b/plumbing/transport/server/upload_pack_test.go index 4fc3be2..137f887 100644 --- a/plumbing/transport/server/upload_pack_test.go +++ b/plumbing/transport/server/upload_pack_test.go @@ -1,8 +1,8 @@ package server_test import ( - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/test" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/ssh/common.go b/plumbing/transport/ssh/common.go index 5c50933..5ed64d4 100644 --- a/plumbing/transport/ssh/common.go +++ b/plumbing/transport/ssh/common.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/internal/common" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" "golang.org/x/crypto/ssh" ) diff --git a/plumbing/transport/ssh/upload_pack_test.go b/plumbing/transport/ssh/upload_pack_test.go index 2caa7b1..8194770 100644 --- a/plumbing/transport/ssh/upload_pack_test.go +++ b/plumbing/transport/ssh/upload_pack_test.go @@ -3,8 +3,8 @@ package ssh import ( "os" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/transport/test" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/test/receive_pack.go b/plumbing/transport/test/receive_pack.go index 2a6c098..f4be8c8 100644 --- a/plumbing/transport/test/receive_pack.go +++ b/plumbing/transport/test/receive_pack.go @@ -9,12 +9,12 @@ import ( "io/ioutil" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/storage/memory" + "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" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/test/upload_pack.go b/plumbing/transport/test/upload_pack.go index 70b434a..06ae893 100644 --- a/plumbing/transport/test/upload_pack.go +++ b/plumbing/transport/test/upload_pack.go @@ -8,14 +8,14 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/storage/memory" + "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" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) type UploadPackSuite struct { diff --git a/references.go b/references.go index 68a54a6..957d741 100644 --- a/references.go +++ b/references.go @@ -3,9 +3,9 @@ package git import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/utils/diff" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/utils/diff" "github.com/sergi/go-diff/diffmatchpatch" ) diff --git a/references_test.go b/references_test.go index f9fd292..e901ec0 100644 --- a/references_test.go +++ b/references_test.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" . "gopkg.in/check.v1" ) @@ -5,19 +5,19 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" - "srcd.works/go-git.v4/plumbing/protocol/packp/sideband" - "srcd.works/go-git.v4/plumbing/revlist" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/client" - "srcd.works/go-git.v4/storage" - "srcd.works/go-git.v4/storage/memory" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/config" + "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" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" + "gopkg.in/src-d/go-git.v4/plumbing/revlist" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "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/storage" + "gopkg.in/src-d/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) var NoErrAlreadyUpToDate = errors.New("already up-to-date") diff --git a/remote_test.go b/remote_test.go index e13ef20..2cd80cf 100644 --- a/remote_test.go +++ b/remote_test.go @@ -8,15 +8,15 @@ import ( "os" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/config" + "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" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) type RemoteSuite struct { diff --git a/repository.go b/repository.go index 569142c..9e325e4 100644 --- a/repository.go +++ b/repository.go @@ -6,16 +6,16 @@ import ( "os" "path/filepath" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/internal/revision" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage" - "srcd.works/go-git.v4/storage/filesystem" - - "srcd.works/go-billy.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/internal/revision" + "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" + "gopkg.in/src-d/go-git.v4/storage" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + + "gopkg.in/src-d/go-billy.v2" + "gopkg.in/src-d/go-billy.v2/osfs" ) var ( diff --git a/repository_test.go b/repository_test.go index f9d398a..352ff21 100644 --- a/repository_test.go +++ b/repository_test.go @@ -10,15 +10,15 @@ import ( "strings" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/config" + "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" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/memfs" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/memfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) type RepositorySuite struct { diff --git a/storage/filesystem/config.go b/storage/filesystem/config.go index 4da70d4..cad698a 100644 --- a/storage/filesystem/config.go +++ b/storage/filesystem/config.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "os" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" ) type ConfigStorage struct { diff --git a/storage/filesystem/config_test.go b/storage/filesystem/config_test.go index 94665b6..b2879b3 100644 --- a/storage/filesystem/config_test.go +++ b/storage/filesystem/config_test.go @@ -5,10 +5,10 @@ import ( "os" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" + "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) type ConfigSuite struct { diff --git a/storage/filesystem/index.go b/storage/filesystem/index.go index 009b26f..456ef0b 100644 --- a/storage/filesystem/index.go +++ b/storage/filesystem/index.go @@ -3,8 +3,8 @@ package filesystem import ( "os" - "srcd.works/go-git.v4/plumbing/format/index" - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" ) type IndexStorage struct { diff --git a/storage/filesystem/internal/dotgit/dotgit.go b/storage/filesystem/internal/dotgit/dotgit.go index b46f827..fdfcea7 100644 --- a/storage/filesystem/internal/dotgit/dotgit.go +++ b/storage/filesystem/internal/dotgit/dotgit.go @@ -9,10 +9,10 @@ import ( "os" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/utils/ioutil" - "srcd.works/go-billy.v1" + "gopkg.in/src-d/go-billy.v2" ) const ( diff --git a/storage/filesystem/internal/dotgit/dotgit_test.go b/storage/filesystem/internal/dotgit/dotgit_test.go index 57dfb53..4bfae1d 100644 --- a/storage/filesystem/internal/dotgit/dotgit_test.go +++ b/storage/filesystem/internal/dotgit/dotgit_test.go @@ -9,10 +9,10 @@ import ( "testing" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) func Test(t *testing.T) { TestingT(t) } diff --git a/storage/filesystem/internal/dotgit/writers.go b/storage/filesystem/internal/dotgit/writers.go index 5949ace..0d2747f 100644 --- a/storage/filesystem/internal/dotgit/writers.go +++ b/storage/filesystem/internal/dotgit/writers.go @@ -5,12 +5,12 @@ import ( "io" "sync/atomic" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/idxfile" - "srcd.works/go-git.v4/plumbing/format/objfile" - "srcd.works/go-git.v4/plumbing/format/packfile" + "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/objfile" + "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "srcd.works/go-billy.v1" + "gopkg.in/src-d/go-billy.v2" ) // PackWriter is a io.Writer that generates the packfile index simultaneously, diff --git a/storage/filesystem/internal/dotgit/writers_test.go b/storage/filesystem/internal/dotgit/writers_test.go index d4da164..e7d7ef9 100644 --- a/storage/filesystem/internal/dotgit/writers_test.go +++ b/storage/filesystem/internal/dotgit/writers_test.go @@ -11,7 +11,7 @@ import ( "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) func (s *SuiteDotGit) TestNewObjectPack(c *C) { diff --git a/storage/filesystem/module.go b/storage/filesystem/module.go index e8985d8..2e469d3 100644 --- a/storage/filesystem/module.go +++ b/storage/filesystem/module.go @@ -1,8 +1,8 @@ package filesystem import ( - "srcd.works/go-git.v4/storage" - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" + "gopkg.in/src-d/go-git.v4/storage" + "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" ) type ModuleStorage struct { diff --git a/storage/filesystem/object.go b/storage/filesystem/object.go index 904f6fe..1518256 100644 --- a/storage/filesystem/object.go +++ b/storage/filesystem/object.go @@ -4,15 +4,15 @@ import ( "io" "os" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/idxfile" - "srcd.works/go-git.v4/plumbing/format/objfile" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" - "srcd.works/go-git.v4/storage/memory" - - "srcd.works/go-billy.v1" + "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/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/memory" + + "gopkg.in/src-d/go-billy.v2" ) type ObjectStorage struct { diff --git a/storage/filesystem/object_test.go b/storage/filesystem/object_test.go index 2caa70c..d741fa2 100644 --- a/storage/filesystem/object_test.go +++ b/storage/filesystem/object_test.go @@ -2,8 +2,8 @@ package filesystem import ( "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" . "gopkg.in/check.v1" ) diff --git a/storage/filesystem/reference.go b/storage/filesystem/reference.go index cff00c9..49627d3 100644 --- a/storage/filesystem/reference.go +++ b/storage/filesystem/reference.go @@ -1,9 +1,9 @@ package filesystem import ( - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" + "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" ) type ReferenceStorage struct { diff --git a/storage/filesystem/shallow.go b/storage/filesystem/shallow.go index edd95c8..ec8d20e 100644 --- a/storage/filesystem/shallow.go +++ b/storage/filesystem/shallow.go @@ -4,8 +4,8 @@ import ( "bufio" "fmt" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" ) // ShallowStorage where the shallow commits are stored, an internal to diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go index 9895507..6d58006 100644 --- a/storage/filesystem/storage.go +++ b/storage/filesystem/storage.go @@ -2,9 +2,9 @@ package filesystem import ( - "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" + "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" - "srcd.works/go-billy.v1" + "gopkg.in/src-d/go-billy.v2" ) // Storage is an implementation of git.Storer that stores data on disk in the diff --git a/storage/filesystem/storage_test.go b/storage/filesystem/storage_test.go index 7300de7..02816f4 100644 --- a/storage/filesystem/storage_test.go +++ b/storage/filesystem/storage_test.go @@ -3,11 +3,11 @@ package filesystem import ( "testing" - "srcd.works/go-git.v4/storage/test" + "gopkg.in/src-d/go-git.v4/storage/test" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/memfs" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/memfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) func Test(t *testing.T) { TestingT(t) } diff --git a/storage/memory/storage.go b/storage/memory/storage.go index 92aeec9..2380fed 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -4,11 +4,11 @@ package memory import ( "fmt" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/index" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage" ) var ErrUnsupportedObjectType = fmt.Errorf("unsupported object type") diff --git a/storage/memory/storage_test.go b/storage/memory/storage_test.go index e5b8d93..ee8fa93 100644 --- a/storage/memory/storage_test.go +++ b/storage/memory/storage_test.go @@ -4,7 +4,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/storage/test" + "gopkg.in/src-d/go-git.v4/storage/test" ) func Test(t *testing.T) { TestingT(t) } diff --git a/storage/storer.go b/storage/storer.go index d217209..50bfd55 100644 --- a/storage/storer.go +++ b/storage/storer.go @@ -1,12 +1,12 @@ package storage import ( - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) // Storer is a generic storage of objects, references and any information -// related to a particular repository. The package srcd.works/go-git.v4/storage +// related to a particular repository. The package gopkg.in/src-d/go-git.v4/storage // contains two implementation a filesystem base implementation (such as `.git`) // and a memory implementations being ephemeral type Storer interface { diff --git a/storage/test/storage_suite.go b/storage/test/storage_suite.go index 2a10c78..5a7cf9d 100644 --- a/storage/test/storage_suite.go +++ b/storage/test/storage_suite.go @@ -7,11 +7,11 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/index" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage" . "gopkg.in/check.v1" ) diff --git a/submodule.go b/submodule.go index e329fda..69c5d75 100644 --- a/submodule.go +++ b/submodule.go @@ -3,8 +3,8 @@ package git import ( "errors" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" ) var ( diff --git a/submodule_test.go b/submodule_test.go index a933965..e367a10 100644 --- a/submodule_test.go +++ b/submodule_test.go @@ -9,7 +9,7 @@ import ( "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type SubmoduleSuite struct { diff --git a/utils/binary/read.go b/utils/binary/read.go index 7cd6184..0bcf11a 100644 --- a/utils/binary/read.go +++ b/utils/binary/read.go @@ -6,7 +6,7 @@ import ( "encoding/binary" "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) // Read reads structured binary data from r into data. Bytes are read and diff --git a/utils/binary/read_test.go b/utils/binary/read_test.go index bab525c..59dbc30 100644 --- a/utils/binary/read_test.go +++ b/utils/binary/read_test.go @@ -6,7 +6,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) func Test(t *testing.T) { TestingT(t) } diff --git a/utils/diff/diff_ext_test.go b/utils/diff/diff_ext_test.go index b36fa62..adda276 100644 --- a/utils/diff/diff_ext_test.go +++ b/utils/diff/diff_ext_test.go @@ -3,7 +3,7 @@ package diff_test import ( "testing" - "srcd.works/go-git.v4/utils/diff" + "gopkg.in/src-d/go-git.v4/utils/diff" "github.com/sergi/go-diff/diffmatchpatch" . "gopkg.in/check.v1" diff --git a/utils/merkletrie/change.go b/utils/merkletrie/change.go index e6c99f6..0b50ca7 100644 --- a/utils/merkletrie/change.go +++ b/utils/merkletrie/change.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // Action values represent the kind of things a Change can represent: diff --git a/utils/merkletrie/change_test.go b/utils/merkletrie/change_test.go index 4f908ce..c849f5f 100644 --- a/utils/merkletrie/change_test.go +++ b/utils/merkletrie/change_test.go @@ -1,9 +1,9 @@ package merkletrie_test import ( - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/internal/fsnoder" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/difftree.go b/utils/merkletrie/difftree.go index 7bea55f..0748865 100644 --- a/utils/merkletrie/difftree.go +++ b/utils/merkletrie/difftree.go @@ -250,7 +250,7 @@ package merkletrie import ( "fmt" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // DiffTree calculates the list of changes between two merkletries. It diff --git a/utils/merkletrie/difftree_test.go b/utils/merkletrie/difftree_test.go index c3fb4f1..dd5b11d 100644 --- a/utils/merkletrie/difftree_test.go +++ b/utils/merkletrie/difftree_test.go @@ -9,8 +9,8 @@ import ( "testing" "unicode" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/internal/fsnoder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/doubleiter.go b/utils/merkletrie/doubleiter.go index 6f5e538..e56dee7 100644 --- a/utils/merkletrie/doubleiter.go +++ b/utils/merkletrie/doubleiter.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // A doubleIter is a convenience type to keep track of the current diff --git a/utils/merkletrie/internal/frame/frame.go b/utils/merkletrie/internal/frame/frame.go index fd06307..a0b042e 100644 --- a/utils/merkletrie/internal/frame/frame.go +++ b/utils/merkletrie/internal/frame/frame.go @@ -6,7 +6,7 @@ import ( "sort" "strings" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // A Frame is a collection of siblings in a trie, sorted alphabetically diff --git a/utils/merkletrie/internal/frame/frame_test.go b/utils/merkletrie/internal/frame/frame_test.go index 516d78b..7d74b1e 100644 --- a/utils/merkletrie/internal/frame/frame_test.go +++ b/utils/merkletrie/internal/frame/frame_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - "srcd.works/go-git.v4/utils/merkletrie/internal/fsnoder" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/internal/fsnoder/dir.go b/utils/merkletrie/internal/fsnoder/dir.go index e50de5c..1811de9 100644 --- a/utils/merkletrie/internal/fsnoder/dir.go +++ b/utils/merkletrie/internal/fsnoder/dir.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // Dir values implement directory-like noders. diff --git a/utils/merkletrie/internal/fsnoder/dir_test.go b/utils/merkletrie/internal/fsnoder/dir_test.go index 57d08a0..df5aacc 100644 --- a/utils/merkletrie/internal/fsnoder/dir_test.go +++ b/utils/merkletrie/internal/fsnoder/dir_test.go @@ -4,7 +4,7 @@ import ( "reflect" "sort" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/internal/fsnoder/file.go b/utils/merkletrie/internal/fsnoder/file.go index 5a7e7eb..c975a60 100644 --- a/utils/merkletrie/internal/fsnoder/file.go +++ b/utils/merkletrie/internal/fsnoder/file.go @@ -5,7 +5,7 @@ import ( "fmt" "hash/fnv" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // file values represent file-like noders in a merkle trie. diff --git a/utils/merkletrie/internal/fsnoder/file_test.go b/utils/merkletrie/internal/fsnoder/file_test.go index 54fe89d..730ae7c 100644 --- a/utils/merkletrie/internal/fsnoder/file_test.go +++ b/utils/merkletrie/internal/fsnoder/file_test.go @@ -3,7 +3,7 @@ package fsnoder import ( "testing" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/internal/fsnoder/new.go b/utils/merkletrie/internal/fsnoder/new.go index f3c6ae9..1e33020 100644 --- a/utils/merkletrie/internal/fsnoder/new.go +++ b/utils/merkletrie/internal/fsnoder/new.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // New function creates a full merkle trie from the string description of diff --git a/utils/merkletrie/internal/fsnoder/new_test.go b/utils/merkletrie/internal/fsnoder/new_test.go index 20f028b..805772f 100644 --- a/utils/merkletrie/internal/fsnoder/new_test.go +++ b/utils/merkletrie/internal/fsnoder/new_test.go @@ -1,7 +1,7 @@ package fsnoder import ( - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/iter.go b/utils/merkletrie/iter.go index 44cba70..c84f6fc 100644 --- a/utils/merkletrie/iter.go +++ b/utils/merkletrie/iter.go @@ -4,8 +4,8 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/utils/merkletrie/internal/frame" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/frame" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // Iter is an iterator for merkletries (only the trie part of the diff --git a/utils/merkletrie/iter_test.go b/utils/merkletrie/iter_test.go index fa7c5f5..ba28f0b 100644 --- a/utils/merkletrie/iter_test.go +++ b/utils/merkletrie/iter_test.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/internal/fsnoder" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/worktree.go b/worktree.go index 1a1661a..40ebe58 100644 --- a/worktree.go +++ b/worktree.go @@ -7,13 +7,13 @@ import ( "io/ioutil" "os" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/format/index" - "srcd.works/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/object" - "srcd.works/go-billy.v1" + "gopkg.in/src-d/go-billy.v2" ) var ErrWorktreeNotClean = errors.New("worktree is not clean") diff --git a/worktree_darwin.go b/worktree_darwin.go index 294affb..8eaffde 100644 --- a/worktree_darwin.go +++ b/worktree_darwin.go @@ -6,7 +6,7 @@ import ( "syscall" "time" - "srcd.works/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" ) func init() { diff --git a/worktree_linux.go b/worktree_linux.go index ad271d0..a33cd2f 100644 --- a/worktree_linux.go +++ b/worktree_linux.go @@ -6,7 +6,7 @@ import ( "syscall" "time" - "srcd.works/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" ) func init() { diff --git a/worktree_test.go b/worktree_test.go index afc592e..5330c67 100644 --- a/worktree_test.go +++ b/worktree_test.go @@ -4,13 +4,13 @@ import ( "io/ioutil" "os" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/memfs" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/memfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) type WorktreeSuite struct { |