diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-30 23:52:39 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-30 23:52:39 +0100 |
commit | 85a4efcc45312f022111907d82c5cc4ee3bdbb73 (patch) | |
tree | 2664a776225ba29d70b1dfcb4e89365f7682007d | |
parent | 30ebf1bd9bb44f540d31633a12689c7d8b6a0167 (diff) | |
download | go-git-85a4efcc45312f022111907d82c5cc4ee3bdbb73.tar.gz |
new srcd.works/go-git.v4 path
182 files changed, 441 insertions, 441 deletions
diff --git a/.travis.yml b/.travis.yml index c63c1c4..daf4b33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,8 +32,8 @@ before_install: install: - 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 + - ln -s $PWD $GOPATH/src/srcd.works/go-git.v4 + - cd $GOPATH/src/srcd.works/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/gopkg.in/src-d/go-git.v4 + WORKDIR := $(GOPATH)/src/srcd.works/go-git.v4 endif build-git: @@ -1,4 +1,4 @@ -# go-git [![GoDoc](https://godoc.org/gopkg.in/src-d/go-git.v4?status.svg)](https://godoc.org/gopkg.in/src-d/go-git.v4) [![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/srcd.works/go-git.v4?status.svg)](https://godoc.org/srcd.works/go-git.v4) [![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 low level and highly extensible git implementation in **pure Go**. @@ -20,7 +20,7 @@ Installation The recommended way to install *go-git* is: ``` -go get -u gopkg.in/src-d/go-git.v4/... +go get -u srcd.works/go-git.v4/... ``` @@ -8,9 +8,9 @@ import ( "strings" "unicode/utf8" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/utils/diff" ) type BlameResult struct { diff --git a/blame_test.go b/blame_test.go index be067e6..0b2126d 100644 --- a/blame_test.go +++ b/blame_test.go @@ -2,7 +2,7 @@ package git import ( "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/cache/common.go b/cache/common.go index bd2f1c3..33fb2bc 100644 --- a/cache/common.go +++ b/cache/common.go @@ -1,6 +1,6 @@ package cache -import "gopkg.in/src-d/go-git.v4/plumbing" +import "srcd.works/go-git.v4/plumbing" const ( Byte = 1 << (iota * 10) diff --git a/cache/object.go b/cache/object.go index cd57030..47e390b 100644 --- a/cache/object.go +++ b/cache/object.go @@ -1,6 +1,6 @@ package cache -import "gopkg.in/src-d/go-git.v4/plumbing" +import "srcd.works/go-git.v4/plumbing" const ( initialQueueSize = 20 diff --git a/cache/object_test.go b/cache/object_test.go index 91aba8f..7d00970 100644 --- a/cache/object_test.go +++ b/cache/object_test.go @@ -4,7 +4,7 @@ import ( "io" "testing" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/cache/queue.go b/cache/queue.go index 85413e0..8c6d7d3 100644 --- a/cache/queue.go +++ b/cache/queue.go @@ -1,6 +1,6 @@ package cache -import "gopkg.in/src-d/go-git.v4/plumbing" +import "srcd.works/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/cli/go-git/receive_pack.go b/cli/go-git/receive_pack.go index 0f96a28..fd44af5 100644 --- a/cli/go-git/receive_pack.go +++ b/cli/go-git/receive_pack.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "gopkg.in/src-d/go-git.v4/plumbing/transport/file" + "srcd.works/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 c45fe48..588e95b 100644 --- a/cli/go-git/upload_pack.go +++ b/cli/go-git/upload_pack.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "gopkg.in/src-d/go-git.v4/plumbing/transport/file" + "srcd.works/go-git.v4/plumbing/transport/file" ) //TODO: usage: git upload-pack [--strict] [--timeout=<n>] <dir> @@ -3,8 +3,8 @@ package git import ( "strings" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/config" + "srcd.works/go-git.v4/plumbing/storer" ) // Storer is a generic storage of objects, references and any information diff --git a/common_test.go b/common_test.go index 3b6ba65..627f8b3 100644 --- a/common_test.go +++ b/common_test.go @@ -4,13 +4,13 @@ import ( "fmt" "testing" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "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/filesystem" - "gopkg.in/src-d/go-git.v4/storage/memory" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/packfile" + "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/filesystem" + "srcd.works/go-git.v4/storage/memory" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/config/config.go b/config/config.go index cef96bb..15844be 100644 --- a/config/config.go +++ b/config/config.go @@ -6,7 +6,7 @@ import ( "errors" "fmt" - format "gopkg.in/src-d/go-git.v4/plumbing/format/config" + format "srcd.works/go-git.v4/plumbing/format/config" ) const ( diff --git a/config/modules.go b/config/modules.go index b1f35b8..4d98b16 100644 --- a/config/modules.go +++ b/config/modules.go @@ -4,7 +4,7 @@ import ( "bytes" "errors" - format "gopkg.in/src-d/go-git.v4/plumbing/format/config" + format "srcd.works/go-git.v4/plumbing/format/config" ) var ( diff --git a/config/refspec.go b/config/refspec.go index 9451170..dca0d82 100644 --- a/config/refspec.go +++ b/config/refspec.go @@ -3,7 +3,7 @@ package config import ( "strings" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) const ( diff --git a/config/refspec_test.go b/config/refspec_test.go index e0f052a..6f97422 100644 --- a/config/refspec_test.go +++ b/config/refspec_test.go @@ -4,7 +4,7 @@ import ( "testing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) type RefSpecSuite struct{} diff --git a/cshared/auth_method_cshared.go b/cshared/auth_method_cshared.go index c4c1a28..0f0e3a1 100644 --- a/cshared/auth_method_cshared.go +++ b/cshared/auth_method_cshared.go @@ -6,8 +6,8 @@ import ( "strings" "golang.org/x/crypto/ssh" - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" - gssh "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" + "srcd.works/go-git.v4/plumbing/transport/http" + gssh "srcd.works/go-git.v4/plumbing/transport/ssh" ) //export c_NewBasicAuth diff --git a/cshared/blame_cshared.go b/cshared/blame_cshared.go index 0f31cea..8dfee31 100644 --- a/cshared/blame_cshared.go +++ b/cshared/blame_cshared.go @@ -4,7 +4,7 @@ package main import ( "C" - "gopkg.in/src-d/go-git.v4" + "srcd.works/go-git.v4" ) //export c_Blame_get_Path diff --git a/cshared/commit_cshared.go b/cshared/commit_cshared.go index cd46d7d..78f9e4a 100644 --- a/cshared/commit_cshared.go +++ b/cshared/commit_cshared.go @@ -7,10 +7,10 @@ import ( "reflect" "unsafe" - "gopkg.in/src-d/go-git.v4" - "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" + "srcd.works/go-git.v4" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/plumbing/storer" ) //export c_Commit_get_Hash diff --git a/cshared/file_cshared.go b/cshared/file_cshared.go index d9c95b0..bace1f5 100644 --- a/cshared/file_cshared.go +++ b/cshared/file_cshared.go @@ -5,9 +5,9 @@ import ( "io" "io/ioutil" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/plumbing/storer" ) //export c_File_get_Name diff --git a/cshared/objects_cshared.go b/cshared/objects_cshared.go index 60bac40..49ddeb7 100644 --- a/cshared/objects_cshared.go +++ b/cshared/objects_cshared.go @@ -6,8 +6,8 @@ import ( "io/ioutil" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" ) //export c_Signature_Name diff --git a/cshared/tag_cshared.go b/cshared/tag_cshared.go index 860a1c6..b13bcf5 100644 --- a/cshared/tag_cshared.go +++ b/cshared/tag_cshared.go @@ -5,9 +5,9 @@ import ( "C" "io" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/plumbing/storer" ) func c_Tag_get_Hash(t uint64) *C.char { diff --git a/cshared/tree_cshared.go b/cshared/tree_cshared.go index 12e360e..c47ecfb 100644 --- a/cshared/tree_cshared.go +++ b/cshared/tree_cshared.go @@ -1,21 +1,21 @@ // Created by cgo - DO NOT EDIT -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:2 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:2 package main /* -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:5 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:5 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:4 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:4 import ( -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:7 - "gopkg.in/src-d/go-git.v4" - "gopkg.in/src-d/go-git.v4/plumbing" +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:7 + "srcd.works/go-git.v4" + "srcd.works/go-git.v4/plumbing" ) -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:13 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:13 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:12 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:12 func c_Tree_get_Entries_len(t uint64) int { obj, ok := GetObject(Handle(t)) if !ok { @@ -25,9 +25,9 @@ func c_Tree_get_Entries_len(t uint64) int { return len(tree.Entries) } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:23 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:23 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:22 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:22 func c_Tree_get_Entries_item(t uint64, index int) (*_Ctype_char, uint32, *_Ctype_char) { obj, ok := GetObject(Handle(t)) if !ok { @@ -38,9 +38,9 @@ func c_Tree_get_Entries_item(t uint64, index int) (*_Ctype_char, uint32, *_Ctype return _Cfunc_CString(item.Name), uint32(item.Mode), CBytes(item.Hash[:]) } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:34 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:34 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:33 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:33 func c_Tree_get_Hash(t uint64) *_Ctype_char { obj, ok := GetObject(Handle(t)) if !ok { @@ -50,9 +50,9 @@ func c_Tree_get_Hash(t uint64) *_Ctype_char { return CBytes(tree.Hash[:]) } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:44 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:44 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:43 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:43 func c_Tree_File(t uint64, path string) (uint64, int, *_Ctype_char) { obj, ok := GetObject(Handle(t)) if !ok { @@ -66,9 +66,9 @@ func c_Tree_File(t uint64, path string) (uint64, int, *_Ctype_char) { return uint64(RegisterObject(file)), ErrorCodeSuccess, nil } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:58 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:58 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:57 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:57 func c_Tree_Type(t uint64) int8 { obj, ok := GetObject(Handle(t)) if !ok { @@ -78,9 +78,9 @@ func c_Tree_Type(t uint64) int8 { return int8(tree.Type()) } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:68 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:68 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:67 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:67 func c_Tree_Files(t uint64) uint64 { obj, ok := GetObject(Handle(t)) if !ok { @@ -91,9 +91,9 @@ func c_Tree_Files(t uint64) uint64 { return uint64(RegisterObject(iter)) } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:79 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:79 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:78 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:78 func c_Tree_Decode(o uint64) (uint64, int, *_Ctype_char) { obj, ok := GetObject(Handle(o)) if !ok { @@ -108,9 +108,9 @@ func c_Tree_Decode(o uint64) (uint64, int, *_Ctype_char) { return uint64(RegisterObject(&tree)), ErrorCodeSuccess, nil } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:94 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:94 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:93 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:93 func c_NewTreeWalker(r uint64, t uint64) uint64 { obj, ok := GetObject(Handle(r)) if !ok { @@ -126,9 +126,9 @@ func c_NewTreeWalker(r uint64, t uint64) uint64 { return uint64(RegisterObject(walker)) } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:110 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:110 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:109 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:109 func c_TreeWalker_Next(tw uint64) (*_Ctype_char, *_Ctype_char, uint32, *_Ctype_char, int, *_Ctype_char) { obj, ok := GetObject(Handle(tw)) if !ok { @@ -143,9 +143,9 @@ func c_TreeWalker_Next(tw uint64) (*_Ctype_char, *_Ctype_char, uint32, *_Ctype_c CBytes(entry.Hash[:]), ErrorCodeSuccess, nil } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:125 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:125 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:124 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:124 func c_TreeWalker_Tree(tw uint64) uint64 { obj, ok := GetObject(Handle(tw)) if !ok { @@ -155,9 +155,9 @@ func c_TreeWalker_Tree(tw uint64) uint64 { return uint64(RegisterObject(walker.Tree())) } -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:135 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:135 -//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:134 +//line /home/mcuadros/workspace/go/src/srcd.works/go-git.v4/cshared/tree_cshared.go:134 func c_TreeWalker_Close(tw uint64) { obj, ok := GetObject(Handle(tw)) if !ok { @@ -34,4 +34,4 @@ // fmt.Println(commit) // } // } -package git +package git // import "srcd.works/go-git.v4" diff --git a/examples/clone/main.go b/examples/clone/main.go index fc50960..7d48c40 100644 --- a/examples/clone/main.go +++ b/examples/clone/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "gopkg.in/src-d/go-git.v4" - . "gopkg.in/src-d/go-git.v4/examples" + "srcd.works/go-git.v4" + . "srcd.works/go-git.v4/examples" ) func main() { diff --git a/examples/common_test.go b/examples/common_test.go index 357d400..b218e07 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", "gopkg.in/src-d/go-git.v4", + "src", "srcd.works/go-git.v4", ) } diff --git a/examples/custom_http/main.go b/examples/custom_http/main.go index 19f2ca3..ee8b96b 100644 --- a/examples/custom_http/main.go +++ b/examples/custom_http/main.go @@ -7,11 +7,11 @@ import ( "os" "time" - "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" + "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" ) // 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 eb41010..5eb4763 100644 --- a/examples/log/main.go +++ b/examples/log/main.go @@ -3,9 +3,9 @@ package main import ( "fmt" - "gopkg.in/src-d/go-git.v4" - . "gopkg.in/src-d/go-git.v4/examples" - "gopkg.in/src-d/go-git.v4/storage/memory" + "srcd.works/go-git.v4" + . "srcd.works/go-git.v4/examples" + "srcd.works/go-git.v4/storage/memory" ) func main() { diff --git a/examples/open/main.go b/examples/open/main.go index 1a9ea64..aa51935 100644 --- a/examples/open/main.go +++ b/examples/open/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "gopkg.in/src-d/go-git.v4" - . "gopkg.in/src-d/go-git.v4/examples" + "srcd.works/go-git.v4" + . "srcd.works/go-git.v4/examples" ) func main() { diff --git a/examples/progress/main.go b/examples/progress/main.go index 46ff57a..a06de54 100644 --- a/examples/progress/main.go +++ b/examples/progress/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "gopkg.in/src-d/go-git.v4" - . "gopkg.in/src-d/go-git.v4/examples" + "srcd.works/go-git.v4" + . "srcd.works/go-git.v4/examples" ) func main() { diff --git a/examples/push/main.go b/examples/push/main.go index 250e5fe..cfae064 100644 --- a/examples/push/main.go +++ b/examples/push/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "gopkg.in/src-d/go-git.v4" - . "gopkg.in/src-d/go-git.v4/examples" + "srcd.works/go-git.v4" + . "srcd.works/go-git.v4/examples" ) func main() { diff --git a/examples/remotes/main.go b/examples/remotes/main.go index 6c9593a..362244b 100644 --- a/examples/remotes/main.go +++ b/examples/remotes/main.go @@ -3,11 +3,11 @@ package main import ( "fmt" - "gopkg.in/src-d/go-git.v4" - "gopkg.in/src-d/go-git.v4/config" - . "gopkg.in/src-d/go-git.v4/examples" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/storage/memory" + "srcd.works/go-git.v4" + "srcd.works/go-git.v4/config" + . "srcd.works/go-git.v4/examples" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/storage/memory" ) func main() { diff --git a/examples/showcase/main.go b/examples/showcase/main.go index 0b9d82e..e70de61 100644 --- a/examples/showcase/main.go +++ b/examples/showcase/main.go @@ -5,10 +5,10 @@ import ( "os" "strings" - "gopkg.in/src-d/go-git.v4" - "gopkg.in/src-d/go-git.v4/plumbing/object" + "srcd.works/go-git.v4" + "srcd.works/go-git.v4/plumbing/object" - . "gopkg.in/src-d/go-git.v4/examples" + . "srcd.works/go-git.v4/examples" ) func main() { @@ -3,10 +3,10 @@ package git import ( "errors" - "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" + "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" ) const ( diff --git a/plumbing/difftree/difftree.go b/plumbing/difftree/difftree.go index 8b34764..869f496 100644 --- a/plumbing/difftree/difftree.go +++ b/plumbing/difftree/difftree.go @@ -7,8 +7,8 @@ import ( "sort" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" ) type Action int diff --git a/plumbing/difftree/difftree_test.go b/plumbing/difftree/difftree_test.go index f187ecc..7679d0f 100644 --- a/plumbing/difftree/difftree_test.go +++ b/plumbing/difftree/difftree_test.go @@ -5,12 +5,12 @@ import ( "testing" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/packfile" + "srcd.works/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/storage/filesystem" + "srcd.works/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/idxfile/decoder.go b/plumbing/format/idxfile/decoder.go index e3ffc4b..835978b 100644 --- a/plumbing/format/idxfile/decoder.go +++ b/plumbing/format/idxfile/decoder.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/utils/binary" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/idxfile/decoder_test.go b/plumbing/format/idxfile/decoder_test.go index 27aa59b..499762d 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" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "gopkg.in/src-d/go-git.v4/storage/memory" + "srcd.works/go-git.v4/plumbing/format/packfile" + "srcd.works/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 164414a..2b0ef89 100644 --- a/plumbing/format/idxfile/encoder.go +++ b/plumbing/format/idxfile/encoder.go @@ -6,7 +6,7 @@ import ( "io" "sort" - "gopkg.in/src-d/go-git.v4/utils/binary" + "srcd.works/go-git.v4/utils/binary" ) // An Encoder writes idx files to an output stream. diff --git a/plumbing/format/idxfile/encoder_test.go b/plumbing/format/idxfile/encoder_test.go index fab87b3..2804aee 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" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/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 8329c23..ee014e5 100644 --- a/plumbing/format/idxfile/idxfile.go +++ b/plumbing/format/idxfile/idxfile.go @@ -1,6 +1,6 @@ package idxfile -import "gopkg.in/src-d/go-git.v4/plumbing" +import "srcd.works/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 3a29af5..1a52fcd 100644 --- a/plumbing/format/index/decoder.go +++ b/plumbing/format/index/decoder.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/utils/binary" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/index/decoder_test.go b/plumbing/format/index/decoder_test.go index 424c350..1ffbe75 100644 --- a/plumbing/format/index/decoder_test.go +++ b/plumbing/format/index/decoder_test.go @@ -5,7 +5,7 @@ import ( . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) func Test(t *testing.T) { TestingT(t) } diff --git a/plumbing/format/index/encoder.go b/plumbing/format/index/encoder.go index 94fbc68..e5de135 100644 --- a/plumbing/format/index/encoder.go +++ b/plumbing/format/index/encoder.go @@ -8,7 +8,7 @@ import ( "io" "time" - "gopkg.in/src-d/go-git.v4/utils/binary" + "srcd.works/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/index/encoder_test.go b/plumbing/format/index/encoder_test.go index 28cbd1f..914ee26 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" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/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 4a3c798..0e9132f 100644 --- a/plumbing/format/index/index.go +++ b/plumbing/format/index/index.go @@ -5,7 +5,7 @@ import ( "os" "time" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) var ( diff --git a/plumbing/format/objfile/common_test.go b/plumbing/format/objfile/common_test.go index 7c8b75c..26cf768 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" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) type objfileFixture struct { diff --git a/plumbing/format/objfile/reader.go b/plumbing/format/objfile/reader.go index e7e119c..2bf9762 100644 --- a/plumbing/format/objfile/reader.go +++ b/plumbing/format/objfile/reader.go @@ -6,8 +6,8 @@ import ( "io" "strconv" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/packfile" ) var ( diff --git a/plumbing/format/objfile/reader_test.go b/plumbing/format/objfile/reader_test.go index 715792d..2fcdc5b 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" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) type SuiteReader struct{} diff --git a/plumbing/format/objfile/writer.go b/plumbing/format/objfile/writer.go index 5555243..16199e5 100644 --- a/plumbing/format/objfile/writer.go +++ b/plumbing/format/objfile/writer.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) var ( diff --git a/plumbing/format/objfile/writer_test.go b/plumbing/format/objfile/writer_test.go index 46dbea6..ae1031f 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" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) type SuiteWriter struct{} diff --git a/plumbing/format/packfile/common.go b/plumbing/format/packfile/common.go index 6402cd0..930a80f 100644 --- a/plumbing/format/packfile/common.go +++ b/plumbing/format/packfile/common.go @@ -3,7 +3,7 @@ package packfile import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "srcd.works/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 387c0d1..17d361e 100644 --- a/plumbing/format/packfile/common_test.go +++ b/plumbing/format/packfile/common_test.go @@ -3,7 +3,7 @@ package packfile import ( "testing" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/decoder.go b/plumbing/format/packfile/decoder.go index f206350..9f2174b 100644 --- a/plumbing/format/packfile/decoder.go +++ b/plumbing/format/packfile/decoder.go @@ -3,9 +3,9 @@ package packfile import ( "bytes" - "gopkg.in/src-d/go-git.v4/cache" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/cache" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 5b10032..6bb49aa 100644 --- a/plumbing/format/packfile/decoder_test.go +++ b/plumbing/format/packfile/decoder_test.go @@ -6,12 +6,12 @@ import ( "srcd.works/go-billy.v1/memfs" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "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" + "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/check.v1" ) diff --git a/plumbing/format/packfile/delta_selector.go b/plumbing/format/packfile/delta_selector.go index a73a209..83bfc27 100644 --- a/plumbing/format/packfile/delta_selector.go +++ b/plumbing/format/packfile/delta_selector.go @@ -3,8 +3,8 @@ package packfile import ( "sort" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 9a8833f..2951ba7 100644 --- a/plumbing/format/packfile/delta_selector_test.go +++ b/plumbing/format/packfile/delta_selector_test.go @@ -1,8 +1,8 @@ package packfile import ( - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/storage/memory" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 118c627..7b2e4ca 100644 --- a/plumbing/format/packfile/diff_delta.go +++ b/plumbing/format/packfile/diff_delta.go @@ -3,7 +3,7 @@ package packfile import ( "io/ioutil" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/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 7419f36..96fe4b4 100644 --- a/plumbing/format/packfile/encoder.go +++ b/plumbing/format/packfile/encoder.go @@ -6,9 +6,9 @@ import ( "fmt" "io" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/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 fa01ed0..749a808 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" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/storage/memory" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 a3e99c0..cc978f4 100644 --- a/plumbing/format/packfile/object_pack.go +++ b/plumbing/format/packfile/object_pack.go @@ -1,6 +1,6 @@ package packfile -import "gopkg.in/src-d/go-git.v4/plumbing" +import "srcd.works/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 ddc7ab5..0d3f038 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" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/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 840f840..1830cd7 100644 --- a/plumbing/format/packfile/patch_delta.go +++ b/plumbing/format/packfile/patch_delta.go @@ -3,7 +3,7 @@ package packfile import ( "io/ioutil" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/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 d8cece6..eeb4b3b 100644 --- a/plumbing/format/packfile/scanner.go +++ b/plumbing/format/packfile/scanner.go @@ -10,8 +10,8 @@ import ( "io" "io/ioutil" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/utils/binary" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go index f2aa5fb..5f9fe1b 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" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) type ScannerSuite struct { diff --git a/plumbing/format/pktline/encoder_test.go b/plumbing/format/pktline/encoder_test.go index d1258af..8bd8446 100644 --- a/plumbing/format/pktline/encoder_test.go +++ b/plumbing/format/pktline/encoder_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/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 b8a78ec..b3c8f35 100644 --- a/plumbing/format/pktline/scanner_test.go +++ b/plumbing/format/pktline/scanner_test.go @@ -7,7 +7,7 @@ import ( "io" "strings" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/blob.go b/plumbing/object/blob.go index aaeb7bf..f274e70 100644 --- a/plumbing/object/blob.go +++ b/plumbing/object/blob.go @@ -3,9 +3,9 @@ package object import ( "io" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/utils/ioutil" ) // Blob is used to store file data - it is generally a file. diff --git a/plumbing/object/blob_test.go b/plumbing/object/blob_test.go index 5ed9de0..955aa46 100644 --- a/plumbing/object/blob_test.go +++ b/plumbing/object/blob_test.go @@ -4,7 +4,7 @@ import ( "io" "io/ioutil" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/commit.go b/plumbing/object/commit.go index fb87f8a..394f04f 100644 --- a/plumbing/object/commit.go +++ b/plumbing/object/commit.go @@ -8,9 +8,9 @@ import ( "sort" "strings" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/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 d30e1c4..be42906 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" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v4/storage/filesystem" + "srcd.works/go-git.v4/storage/filesystem" ) type SuiteCommit struct { diff --git a/plumbing/object/commit_walker.go b/plumbing/object/commit_walker.go index dcce6b9..1514cb3 100644 --- a/plumbing/object/commit_walker.go +++ b/plumbing/object/commit_walker.go @@ -3,7 +3,7 @@ package object import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) type commitWalker struct { diff --git a/plumbing/object/file.go b/plumbing/object/file.go index 4dc1a9f..618cea7 100644 --- a/plumbing/object/file.go +++ b/plumbing/object/file.go @@ -6,8 +6,8 @@ import ( "os" "strings" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/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 58c7676..4c8bbb6 100644 --- a/plumbing/object/file_test.go +++ b/plumbing/object/file_test.go @@ -4,9 +4,9 @@ import ( "io" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage/filesystem" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/storage/filesystem" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/object.go b/plumbing/object/object.go index a48449b..51d9bc4 100644 --- a/plumbing/object/object.go +++ b/plumbing/object/object.go @@ -8,8 +8,8 @@ import ( "strconv" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 4dd0777..426baed 100644 --- a/plumbing/object/object_test.go +++ b/plumbing/object/object_test.go @@ -7,9 +7,9 @@ import ( "time" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage/filesystem" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/storage/filesystem" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/tag.go b/plumbing/object/tag.go index f747ca0..1b18dbf 100644 --- a/plumbing/object/tag.go +++ b/plumbing/object/tag.go @@ -7,9 +7,9 @@ import ( "io" stdioutil "io/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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/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 deb961e..8fbd932 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" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/storage/filesystem" + "srcd.works/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/tree.go b/plumbing/object/tree.go index e197310..546dd74 100644 --- a/plumbing/object/tree.go +++ b/plumbing/object/tree.go @@ -10,9 +10,9 @@ import ( "strconv" "strings" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/utils/ioutil" ) const ( diff --git a/plumbing/object/tree_test.go b/plumbing/object/tree_test.go index 8613300..be721b9 100644 --- a/plumbing/object/tree_test.go +++ b/plumbing/object/tree_test.go @@ -4,10 +4,10 @@ import ( "io" "os" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/plumbing/storer" ) type TreeSuite struct { diff --git a/plumbing/protocol/packp/advrefs.go b/plumbing/protocol/packp/advrefs.go index 7d644bc..6a59306 100644 --- a/plumbing/protocol/packp/advrefs.go +++ b/plumbing/protocol/packp/advrefs.go @@ -4,10 +4,10 @@ import ( "fmt" "strings" - "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" + "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" ) // 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 e0a449e..8b651a6 100644 --- a/plumbing/protocol/packp/advrefs_decode.go +++ b/plumbing/protocol/packp/advrefs_decode.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 e9a01f8..cac83f9 100644 --- a/plumbing/protocol/packp/advrefs_decode_test.go +++ b/plumbing/protocol/packp/advrefs_decode_test.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "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" + "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/check.v1" ) diff --git a/plumbing/protocol/packp/advrefs_encode.go b/plumbing/protocol/packp/advrefs_encode.go index e981120..6baca77 100644 --- a/plumbing/protocol/packp/advrefs_encode.go +++ b/plumbing/protocol/packp/advrefs_encode.go @@ -5,9 +5,9 @@ import ( "io" "sort" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/pktline" + "srcd.works/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 f901440..d408021 100644 --- a/plumbing/protocol/packp/advrefs_encode_test.go +++ b/plumbing/protocol/packp/advrefs_encode_test.go @@ -4,9 +4,9 @@ import ( "bytes" "strings" - "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" + "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/check.v1" ) diff --git a/plumbing/protocol/packp/advrefs_test.go b/plumbing/protocol/packp/advrefs_test.go index 0180fd3..38697fa 100644 --- a/plumbing/protocol/packp/advrefs_test.go +++ b/plumbing/protocol/packp/advrefs_test.go @@ -6,9 +6,9 @@ import ( "io" "strings" - "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" + "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/check.v1" ) diff --git a/plumbing/protocol/packp/common_test.go b/plumbing/protocol/packp/common_test.go index c055fee..ab6a1e6 100644 --- a/plumbing/protocol/packp/common_test.go +++ b/plumbing/protocol/packp/common_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/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 29c1a4c..dc83e36 100644 --- a/plumbing/protocol/packp/report_status.go +++ b/plumbing/protocol/packp/report_status.go @@ -6,8 +6,8 @@ import ( "io" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 1c3fa81..d3681a9 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" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 40f58e8..84ba867 100644 --- a/plumbing/protocol/packp/shallowupd.go +++ b/plumbing/protocol/packp/shallowupd.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/pktline" ) const ( diff --git a/plumbing/protocol/packp/shallowupd_test.go b/plumbing/protocol/packp/shallowupd_test.go index 97a13fc..117af22 100644 --- a/plumbing/protocol/packp/shallowupd_test.go +++ b/plumbing/protocol/packp/shallowupd_test.go @@ -3,7 +3,7 @@ package packp import ( "bytes" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/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 352336d..f82adc2 100644 --- a/plumbing/protocol/packp/sideband/demux.go +++ b/plumbing/protocol/packp/sideband/demux.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/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 3d2d6ed..98e5059 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" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/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 45fecc2..9cbf4e7 100644 --- a/plumbing/protocol/packp/sideband/muxer.go +++ b/plumbing/protocol/packp/sideband/muxer.go @@ -3,7 +3,7 @@ package sideband import ( "io" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/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 d41b50d..0e027b4 100644 --- a/plumbing/protocol/packp/srvresp.go +++ b/plumbing/protocol/packp/srvresp.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 6078855..c2287d6 100644 --- a/plumbing/protocol/packp/srvresp_test.go +++ b/plumbing/protocol/packp/srvresp_test.go @@ -3,7 +3,7 @@ package packp import ( "bytes" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq.go b/plumbing/protocol/packp/ulreq.go index 7832007..f025559 100644 --- a/plumbing/protocol/packp/ulreq.go +++ b/plumbing/protocol/packp/ulreq.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 bcd642d..02237db 100644 --- a/plumbing/protocol/packp/ulreq_decode.go +++ b/plumbing/protocol/packp/ulreq_decode.go @@ -8,8 +8,8 @@ import ( "strconv" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 82a4e1f..befef9f 100644 --- a/plumbing/protocol/packp/ulreq_decode_test.go +++ b/plumbing/protocol/packp/ulreq_decode_test.go @@ -6,9 +6,9 @@ import ( "sort" "time" - "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" + "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/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq_encode.go b/plumbing/protocol/packp/ulreq_encode.go index 4a26e74..a55a86e 100644 --- a/plumbing/protocol/packp/ulreq_encode.go +++ b/plumbing/protocol/packp/ulreq_encode.go @@ -6,8 +6,8 @@ import ( "io" "time" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 0890678..40d2888 100644 --- a/plumbing/protocol/packp/ulreq_encode_test.go +++ b/plumbing/protocol/packp/ulreq_encode_test.go @@ -4,9 +4,9 @@ import ( "bytes" "time" - "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" + "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/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq_test.go b/plumbing/protocol/packp/ulreq_test.go index f000b91..0b0d4c0 100644 --- a/plumbing/protocol/packp/ulreq_test.go +++ b/plumbing/protocol/packp/ulreq_test.go @@ -6,9 +6,9 @@ import ( "strings" "time" - "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" + "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/check.v1" ) diff --git a/plumbing/protocol/packp/updreq.go b/plumbing/protocol/packp/updreq.go index ae08107..b685999 100644 --- a/plumbing/protocol/packp/updreq.go +++ b/plumbing/protocol/packp/updreq.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 c15d49c..9760ceb 100644 --- a/plumbing/protocol/packp/updreq_decode.go +++ b/plumbing/protocol/packp/updreq_decode.go @@ -8,8 +8,8 @@ import ( "io" "io/ioutil" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 c084334..4c845ae 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" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 44c0573..a800c52 100644 --- a/plumbing/protocol/packp/updreq_encode.go +++ b/plumbing/protocol/packp/updreq_encode.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/pktline" + "srcd.works/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 77b715d..9c29dff 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" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 2412fbf..72b5e3c 100644 --- a/plumbing/protocol/packp/updreq_test.go +++ b/plumbing/protocol/packp/updreq_test.go @@ -1,7 +1,7 @@ package packp import ( - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "srcd.works/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 4bb22d0..2e6ad00 100644 --- a/plumbing/protocol/packp/uppackreq.go +++ b/plumbing/protocol/packp/uppackreq.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/pktline" + "srcd.works/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 f776c07..2048236 100644 --- a/plumbing/protocol/packp/uppackreq_test.go +++ b/plumbing/protocol/packp/uppackreq_test.go @@ -3,8 +3,8 @@ package packp import ( "bytes" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 ac456f3..be74f39 100644 --- a/plumbing/protocol/packp/uppackresp.go +++ b/plumbing/protocol/packp/uppackresp.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "srcd.works/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 c27fdda..080d779 100644 --- a/plumbing/protocol/packp/uppackresp_test.go +++ b/plumbing/protocol/packp/uppackresp_test.go @@ -4,10 +4,10 @@ import ( "bytes" "io/ioutil" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "srcd.works/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) type UploadPackResponseSuite struct{} diff --git a/plumbing/revlist/revlist.go b/plumbing/revlist/revlist.go index 106e78b..57ae6d7 100644 --- a/plumbing/revlist/revlist.go +++ b/plumbing/revlist/revlist.go @@ -5,9 +5,9 @@ package revlist import ( "io" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" + "srcd.works/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 0865e12..d7361d9 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" - "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" + "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/check.v1" ) diff --git a/plumbing/storer/index.go b/plumbing/storer/index.go index e087296..8148454 100644 --- a/plumbing/storer/index.go +++ b/plumbing/storer/index.go @@ -1,6 +1,6 @@ package storer -import "gopkg.in/src-d/go-git.v4/plumbing/format/index" +import "srcd.works/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 a733ee6..30ab689 100644 --- a/plumbing/storer/object.go +++ b/plumbing/storer/object.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) var ( diff --git a/plumbing/storer/object_test.go b/plumbing/storer/object_test.go index 6bdd25c..5726156 100644 --- a/plumbing/storer/object_test.go +++ b/plumbing/storer/object_test.go @@ -5,7 +5,7 @@ import ( "testing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) func Test(t *testing.T) { TestingT(t) } diff --git a/plumbing/storer/reference.go b/plumbing/storer/reference.go index 5e818c6..40474f9 100644 --- a/plumbing/storer/reference.go +++ b/plumbing/storer/reference.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) const MaxResolveRecursion = 1024 diff --git a/plumbing/storer/reference_test.go b/plumbing/storer/reference_test.go index 3014df5..f698820 100644 --- a/plumbing/storer/reference_test.go +++ b/plumbing/storer/reference_test.go @@ -4,7 +4,7 @@ import ( "io" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" ) type ReferenceSuite struct{} diff --git a/plumbing/storer/shallow.go b/plumbing/storer/shallow.go index 4366135..f93060d 100644 --- a/plumbing/storer/shallow.go +++ b/plumbing/storer/shallow.go @@ -1,6 +1,6 @@ package storer -import "gopkg.in/src-d/go-git.v4/plumbing" +import "srcd.works/go-git.v4/plumbing" // ShallowStorer 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 4615368..5ac1be2 100644 --- a/plumbing/transport/client/client.go +++ b/plumbing/transport/client/client.go @@ -3,11 +3,11 @@ package client import ( "fmt" - "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" + "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" ) // Protocols are the protocols supported by default. diff --git a/plumbing/transport/client/client_test.go b/plumbing/transport/client/client_test.go index 2b2e0ff..a3715d2 100644 --- a/plumbing/transport/client/client_test.go +++ b/plumbing/transport/client/client_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "gopkg.in/src-d/go-git.v4/plumbing/transport" + "srcd.works/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 3e7a4f0..8d38673 100644 --- a/plumbing/transport/client/example_test.go +++ b/plumbing/transport/client/example_test.go @@ -4,8 +4,8 @@ import ( "crypto/tls" "net/http" - "gopkg.in/src-d/go-git.v4/plumbing/transport/client" - githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http" + "srcd.works/go-git.v4/plumbing/transport/client" + githttp "srcd.works/go-git.v4/plumbing/transport/http" ) func ExampleInstallProtocol() { diff --git a/plumbing/transport/common.go b/plumbing/transport/common.go index 3fcdef2..6144ffb 100644 --- a/plumbing/transport/common.go +++ b/plumbing/transport/common.go @@ -19,9 +19,9 @@ import ( "net/url" "regexp" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/protocol/packp" + "srcd.works/go-git.v4/plumbing/protocol/packp/capability" ) var ( diff --git a/plumbing/transport/common_test.go b/plumbing/transport/common_test.go index e9a5efa..d6a07b4 100644 --- a/plumbing/transport/common_test.go +++ b/plumbing/transport/common_test.go @@ -3,7 +3,7 @@ package transport import ( "testing" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "srcd.works/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 e3f7681..7468426 100644 --- a/plumbing/transport/file/client.go +++ b/plumbing/transport/file/client.go @@ -4,8 +4,8 @@ import ( "io" "os/exec" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/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 220df3d..0e518e5 100644 --- a/plumbing/transport/file/client_test.go +++ b/plumbing/transport/file/client_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "gopkg.in/src-d/go-git.v4/plumbing/transport" + "srcd.works/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 5bbad44..a2b0d89 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" - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" + "srcd.works/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 74085c2..11f819a 100644 --- a/plumbing/transport/file/server.go +++ b/plumbing/transport/file/server.go @@ -4,10 +4,10 @@ import ( "fmt" "os" - "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" + "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" ) // 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 e5915f0..c25680f 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" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/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 5eae22a..dd4bac4 100644 --- a/plumbing/transport/git/common.go +++ b/plumbing/transport/git/common.go @@ -6,10 +6,10 @@ import ( "net" "strings" - "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" + "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" ) // 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 d367a7f..6f614a7 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" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/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 a26cf0c..8ca5cc1 100644 --- a/plumbing/transport/http/common.go +++ b/plumbing/transport/http/common.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/protocol/packp" + "srcd.works/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 1fd0dd5..eaaeac9 100644 --- a/plumbing/transport/http/common_test.go +++ b/plumbing/transport/http/common_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "gopkg.in/src-d/go-git.v4/plumbing/transport" + "srcd.works/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 7a37049..4f2d3e9 100644 --- a/plumbing/transport/http/receive_pack.go +++ b/plumbing/transport/http/receive_pack.go @@ -4,8 +4,8 @@ import ( "errors" "net/http" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" - "gopkg.in/src-d/go-git.v4/plumbing/transport" + "srcd.works/go-git.v4/plumbing/protocol/packp" + "srcd.works/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 fd1787c..679d3c9 100644 --- a/plumbing/transport/http/upload_pack.go +++ b/plumbing/transport/http/upload_pack.go @@ -7,12 +7,12 @@ import ( "net/http" "strconv" - "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" + "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" ) type upSession struct { diff --git a/plumbing/transport/http/upload_pack_test.go b/plumbing/transport/http/upload_pack_test.go index a793efb..2035ddc 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" - "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" + "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/check.v1" ) diff --git a/plumbing/transport/internal/common/common.go b/plumbing/transport/internal/common/common.go index b459198..ab62a32 100644 --- a/plumbing/transport/internal/common/common.go +++ b/plumbing/transport/internal/common/common.go @@ -13,11 +13,11 @@ import ( "strings" "time" - "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" + "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" ) const ( diff --git a/plumbing/transport/internal/common/server.go b/plumbing/transport/internal/common/server.go index dd6cfbe..2137f8d 100644 --- a/plumbing/transport/internal/common/server.go +++ b/plumbing/transport/internal/common/server.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "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" + "srcd.works/go-git.v4/plumbing/protocol/packp" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/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 7b5770b..0804412 100644 --- a/plumbing/transport/server/loader.go +++ b/plumbing/transport/server/loader.go @@ -1,9 +1,9 @@ package server import ( - "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-git.v4/plumbing/storer" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/go-git.v4/storage/filesystem" "srcd.works/go-billy.v1" "srcd.works/go-billy.v1/osfs" diff --git a/plumbing/transport/server/loader_test.go b/plumbing/transport/server/loader_test.go index b4a8c37..d5d431a 100644 --- a/plumbing/transport/server/loader_test.go +++ b/plumbing/transport/server/loader_test.go @@ -5,7 +5,7 @@ import ( "os/exec" "path/filepath" - "gopkg.in/src-d/go-git.v4/plumbing/transport" + "srcd.works/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 73ba60b..f7ba268 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 ( - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/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 542b439..832c127 100644 --- a/plumbing/transport/server/server.go +++ b/plumbing/transport/server/server.go @@ -7,14 +7,14 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/packfile" + "srcd.works/go-git.v4/plumbing/object" + "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" ) var DefaultServer = NewServer(DefaultLoader) diff --git a/plumbing/transport/server/server_test.go b/plumbing/transport/server/server_test.go index 2459ab2..b266196 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" - "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" + "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/check.v1" ) diff --git a/plumbing/transport/server/upload_pack_test.go b/plumbing/transport/server/upload_pack_test.go index 7ba1e74..d127522 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 ( - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/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 7d72d26..c65fff9 100644 --- a/plumbing/transport/ssh/common.go +++ b/plumbing/transport/ssh/common.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/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 8194770..2caa7b1 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" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" + "srcd.works/go-git.v4/plumbing/transport" + "srcd.works/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 f4be8c8..2a6c098 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" - "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" + "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/check.v1" ) diff --git a/plumbing/transport/test/upload_pack.go b/plumbing/transport/test/upload_pack.go index 06ae893..70b434a 100644 --- a/plumbing/transport/test/upload_pack.go +++ b/plumbing/transport/test/upload_pack.go @@ -8,14 +8,14 @@ import ( "io" "io/ioutil" - "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" + "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/check.v1" - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "srcd.works/go-git.v4/plumbing/protocol/packp/capability" ) type UploadPackSuite struct { diff --git a/references.go b/references.go index 035e5c1..c025df9 100644 --- a/references.go +++ b/references.go @@ -3,9 +3,9 @@ package git import ( "io" - "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" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/utils/diff" "github.com/sergi/go-diff/diffmatchpatch" ) diff --git a/references_test.go b/references_test.go index af59c05..74cf7de 100644 --- a/references_test.go +++ b/references_test.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/object" . "gopkg.in/check.v1" ) @@ -5,19 +5,19 @@ import ( "fmt" "io" - "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/object" - "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/memory" - "gopkg.in/src-d/go-git.v4/utils/ioutil" + "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/object" + "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/memory" + "srcd.works/go-git.v4/utils/ioutil" ) var NoErrAlreadyUpToDate = errors.New("already up-to-date") diff --git a/remote_test.go b/remote_test.go index 60a2e29..1e3a2d8 100644 --- a/remote_test.go +++ b/remote_test.go @@ -7,12 +7,12 @@ import ( "io/ioutil" "os" - "gopkg.in/src-d/go-git.v4/config" + "srcd.works/go-git.v4/config" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage/filesystem" - "gopkg.in/src-d/go-git.v4/storage/memory" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/storage/filesystem" + "srcd.works/go-git.v4/storage/memory" . "gopkg.in/check.v1" "srcd.works/go-billy.v1/osfs" diff --git a/repository.go b/repository.go index 9fc00f5..5511ba6 100644 --- a/repository.go +++ b/repository.go @@ -5,11 +5,11 @@ import ( "fmt" "os" - "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/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage/filesystem" + "srcd.works/go-git.v4/config" + "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" "srcd.works/go-billy.v1" "srcd.works/go-billy.v1/osfs" diff --git a/repository_test.go b/repository_test.go index b097b6f..c9021a2 100644 --- a/repository_test.go +++ b/repository_test.go @@ -9,12 +9,12 @@ import ( "path/filepath" "strings" - "gopkg.in/src-d/go-git.v4/config" + "srcd.works/go-git.v4/config" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-git.v4/storage/filesystem" - "gopkg.in/src-d/go-git.v4/storage/memory" + "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/check.v1" "srcd.works/go-billy.v1/memfs" diff --git a/storage/filesystem/config.go b/storage/filesystem/config.go index cad698a..4da70d4 100644 --- a/storage/filesystem/config.go +++ b/storage/filesystem/config.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "os" - "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" + "srcd.works/go-git.v4/config" + "srcd.works/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 460f807..94665b6 100644 --- a/storage/filesystem/config_test.go +++ b/storage/filesystem/config_test.go @@ -5,7 +5,7 @@ import ( "os" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" + "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" . "gopkg.in/check.v1" "srcd.works/go-billy.v1/osfs" diff --git a/storage/filesystem/index.go b/storage/filesystem/index.go index 456ef0b..009b26f 100644 --- a/storage/filesystem/index.go +++ b/storage/filesystem/index.go @@ -3,8 +3,8 @@ package filesystem import ( "os" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" - "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" + "srcd.works/go-git.v4/plumbing/format/index" + "srcd.works/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 1281b7e..accf9ca 100644 --- a/storage/filesystem/internal/dotgit/dotgit.go +++ b/storage/filesystem/internal/dotgit/dotgit.go @@ -9,7 +9,7 @@ import ( "os" "strings" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" "srcd.works/go-billy.v1" ) diff --git a/storage/filesystem/internal/dotgit/dotgit_test.go b/storage/filesystem/internal/dotgit/dotgit_test.go index 4be8eea..a335e5f 100644 --- a/storage/filesystem/internal/dotgit/dotgit_test.go +++ b/storage/filesystem/internal/dotgit/dotgit_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/src-d/go-git-fixtures" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing" . "gopkg.in/check.v1" "srcd.works/go-billy.v1/osfs" diff --git a/storage/filesystem/internal/dotgit/writers.go b/storage/filesystem/internal/dotgit/writers.go index 1cd893d..5949ace 100644 --- a/storage/filesystem/internal/dotgit/writers.go +++ b/storage/filesystem/internal/dotgit/writers.go @@ -5,10 +5,10 @@ import ( "io" "sync/atomic" - "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-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-billy.v1" ) diff --git a/storage/filesystem/object.go b/storage/filesystem/object.go index b82ca30..2975c1e 100644 --- a/storage/filesystem/object.go +++ b/storage/filesystem/object.go @@ -4,13 +4,13 @@ import ( "io" "os" - "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" + "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" ) diff --git a/storage/filesystem/object_test.go b/storage/filesystem/object_test.go index d741fa2..2caa70c 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" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" . "gopkg.in/check.v1" ) diff --git a/storage/filesystem/reference.go b/storage/filesystem/reference.go index 93da68c..ee87830 100644 --- a/storage/filesystem/reference.go +++ b/storage/filesystem/reference.go @@ -1,9 +1,9 @@ package filesystem import ( - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/storer" - "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/storer" + "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" ) type ReferenceStorage struct { diff --git a/storage/filesystem/shallow.go b/storage/filesystem/shallow.go index ec8d20e..edd95c8 100644 --- a/storage/filesystem/shallow.go +++ b/storage/filesystem/shallow.go @@ -4,8 +4,8 @@ import ( "bufio" "fmt" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" + "srcd.works/go-git.v4/plumbing" + "srcd.works/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 56f84b8..7021d3a 100644 --- a/storage/filesystem/storage.go +++ b/storage/filesystem/storage.go @@ -2,7 +2,7 @@ package filesystem import ( - "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" + "srcd.works/go-git.v4/storage/filesystem/internal/dotgit" "srcd.works/go-billy.v1" ) diff --git a/storage/filesystem/storage_test.go b/storage/filesystem/storage_test.go index c48fdd2..e398d22 100644 --- a/storage/filesystem/storage_test.go +++ b/storage/filesystem/storage_test.go @@ -3,7 +3,7 @@ package filesystem import ( "testing" - "gopkg.in/src-d/go-git.v4/storage/test" + "srcd.works/go-git.v4/storage/test" . "gopkg.in/check.v1" "srcd.works/go-billy.v1/osfs" diff --git a/storage/memory/storage.go b/storage/memory/storage.go index 5d0bff1..6cec47b 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -4,10 +4,10 @@ package memory import ( "fmt" - "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" + "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" ) var ErrUnsupportedObjectType = fmt.Errorf("unsupported object type") diff --git a/storage/memory/storage_test.go b/storage/memory/storage_test.go index ee8fa93..e5b8d93 100644 --- a/storage/memory/storage_test.go +++ b/storage/memory/storage_test.go @@ -4,7 +4,7 @@ import ( "testing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v4/storage/test" + "srcd.works/go-git.v4/storage/test" ) func Test(t *testing.T) { TestingT(t) } diff --git a/storage/test/storage_suite.go b/storage/test/storage_suite.go index ca2f783..6fc2937 100644 --- a/storage/test/storage_suite.go +++ b/storage/test/storage_suite.go @@ -7,10 +7,10 @@ import ( "io" "io/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/index" - "gopkg.in/src-d/go-git.v4/plumbing/storer" + "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" . "gopkg.in/check.v1" ) diff --git a/utils/binary/read.go b/utils/binary/read.go index 8aab3e5..608583b 100644 --- a/utils/binary/read.go +++ b/utils/binary/read.go @@ -6,7 +6,7 @@ import ( "encoding/binary" "io" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/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 59dbc30..bab525c 100644 --- a/utils/binary/read_test.go +++ b/utils/binary/read_test.go @@ -6,7 +6,7 @@ import ( "testing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v4/plumbing" + "srcd.works/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 adda276..b36fa62 100644 --- a/utils/diff/diff_ext_test.go +++ b/utils/diff/diff_ext_test.go @@ -3,7 +3,7 @@ package diff_test import ( "testing" - "gopkg.in/src-d/go-git.v4/utils/diff" + "srcd.works/go-git.v4/utils/diff" "github.com/sergi/go-diff/diffmatchpatch" . "gopkg.in/check.v1" diff --git a/utils/merkletrie/internal/fsnoder/dir.go b/utils/merkletrie/internal/fsnoder/dir.go index 1811de9..e50de5c 100644 --- a/utils/merkletrie/internal/fsnoder/dir.go +++ b/utils/merkletrie/internal/fsnoder/dir.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "srcd.works/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 df5aacc..57d08a0 100644 --- a/utils/merkletrie/internal/fsnoder/dir_test.go +++ b/utils/merkletrie/internal/fsnoder/dir_test.go @@ -4,7 +4,7 @@ import ( "reflect" "sort" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "srcd.works/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 c975a60..5a7e7eb 100644 --- a/utils/merkletrie/internal/fsnoder/file.go +++ b/utils/merkletrie/internal/fsnoder/file.go @@ -5,7 +5,7 @@ import ( "fmt" "hash/fnv" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "srcd.works/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 730ae7c..54fe89d 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" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "srcd.works/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 3ea4733..ebeb378 100644 --- a/utils/merkletrie/internal/fsnoder/new.go +++ b/utils/merkletrie/internal/fsnoder/new.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "srcd.works/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 e473705..3e209a9 100644 --- a/utils/merkletrie/internal/fsnoder/new_test.go +++ b/utils/merkletrie/internal/fsnoder/new_test.go @@ -1,7 +1,7 @@ package fsnoder import ( - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" + "srcd.works/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/worktree.go b/worktree.go index 8637f7b..69ccd05 100644 --- a/worktree.go +++ b/worktree.go @@ -8,9 +8,9 @@ import ( "syscall" "time" - "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/object" + "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/format/index" + "srcd.works/go-git.v4/plumbing/object" "srcd.works/go-billy.v1" ) diff --git a/worktree_test.go b/worktree_test.go index e4e7c7f..1c393f7 100644 --- a/worktree_test.go +++ b/worktree_test.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "os" - "gopkg.in/src-d/go-git.v4/plumbing/format/index" - "gopkg.in/src-d/go-git.v4/plumbing/object" + "srcd.works/go-git.v4/plumbing/format/index" + "srcd.works/go-git.v4/plumbing/object" . "gopkg.in/check.v1" "srcd.works/go-billy.v1/memfs" |