From 85a4efcc45312f022111907d82c5cc4ee3bdbb73 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 30 Jan 2017 23:52:39 +0100 Subject: new srcd.works/go-git.v4 path --- plumbing/format/idxfile/decoder.go | 4 ++-- plumbing/format/idxfile/decoder_test.go | 4 ++-- plumbing/format/idxfile/encoder.go | 2 +- plumbing/format/idxfile/encoder_test.go | 2 +- plumbing/format/idxfile/idxfile.go | 2 +- plumbing/format/index/decoder.go | 4 ++-- plumbing/format/index/decoder_test.go | 2 +- plumbing/format/index/encoder.go | 2 +- plumbing/format/index/encoder_test.go | 2 +- plumbing/format/index/index.go | 2 +- plumbing/format/objfile/common_test.go | 2 +- plumbing/format/objfile/reader.go | 4 ++-- plumbing/format/objfile/reader_test.go | 2 +- plumbing/format/objfile/writer.go | 2 +- plumbing/format/objfile/writer_test.go | 2 +- plumbing/format/packfile/common.go | 2 +- plumbing/format/packfile/common_test.go | 2 +- plumbing/format/packfile/decoder.go | 6 +++--- plumbing/format/packfile/decoder_test.go | 12 ++++++------ plumbing/format/packfile/delta_selector.go | 4 ++-- plumbing/format/packfile/delta_selector_test.go | 4 ++-- plumbing/format/packfile/diff_delta.go | 2 +- plumbing/format/packfile/encoder.go | 6 +++--- plumbing/format/packfile/encoder_test.go | 4 ++-- plumbing/format/packfile/object_pack.go | 2 +- plumbing/format/packfile/object_pack_test.go | 2 +- plumbing/format/packfile/patch_delta.go | 2 +- plumbing/format/packfile/scanner.go | 4 ++-- plumbing/format/packfile/scanner_test.go | 2 +- plumbing/format/pktline/encoder_test.go | 2 +- plumbing/format/pktline/scanner_test.go | 2 +- 31 files changed, 48 insertions(+), 48 deletions(-) (limited to 'plumbing/format') 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" ) -- cgit