aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format
diff options
context:
space:
mode:
authorAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-03-07 12:58:18 +0100
committerAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-03-07 12:58:18 +0100
commit33e7c165c9fb5594821005b7ee55826e5a305487 (patch)
tree2f858902843f22379c80512c4b2f2dc1221723ad /plumbing/format
parentf64e4b856865bc37f45e55ef094060481b53928e (diff)
downloadgo-git-33e7c165c9fb5594821005b7ee55826e5a305487.tar.gz
project: move imports from srcd.works to gopkg.in
To be able to fix #261 we will move again to gopkg.in before v4 stable release.
Diffstat (limited to 'plumbing/format')
-rw-r--r--plumbing/format/idxfile/decoder.go4
-rw-r--r--plumbing/format/idxfile/decoder_test.go4
-rw-r--r--plumbing/format/idxfile/encoder.go2
-rw-r--r--plumbing/format/idxfile/encoder_test.go2
-rw-r--r--plumbing/format/idxfile/idxfile.go2
-rw-r--r--plumbing/format/index/decoder.go4
-rw-r--r--plumbing/format/index/decoder_test.go4
-rw-r--r--plumbing/format/index/encoder.go2
-rw-r--r--plumbing/format/index/encoder_test.go2
-rw-r--r--plumbing/format/index/index.go4
-rw-r--r--plumbing/format/objfile/common_test.go2
-rw-r--r--plumbing/format/objfile/reader.go4
-rw-r--r--plumbing/format/objfile/reader_test.go2
-rw-r--r--plumbing/format/objfile/writer.go2
-rw-r--r--plumbing/format/objfile/writer_test.go2
-rw-r--r--plumbing/format/packfile/common.go2
-rw-r--r--plumbing/format/packfile/common_test.go2
-rw-r--r--plumbing/format/packfile/decoder.go6
-rw-r--r--plumbing/format/packfile/decoder_test.go14
-rw-r--r--plumbing/format/packfile/delta_selector.go4
-rw-r--r--plumbing/format/packfile/delta_selector_test.go4
-rw-r--r--plumbing/format/packfile/diff_delta.go2
-rw-r--r--plumbing/format/packfile/encoder.go6
-rw-r--r--plumbing/format/packfile/encoder_test.go4
-rw-r--r--plumbing/format/packfile/object_pack.go2
-rw-r--r--plumbing/format/packfile/object_pack_test.go2
-rw-r--r--plumbing/format/packfile/patch_delta.go2
-rw-r--r--plumbing/format/packfile/scanner.go4
-rw-r--r--plumbing/format/packfile/scanner_test.go2
-rw-r--r--plumbing/format/pktline/encoder_test.go2
-rw-r--r--plumbing/format/pktline/scanner_test.go2
31 files changed, 51 insertions, 51 deletions
diff --git a/plumbing/format/idxfile/decoder.go b/plumbing/format/idxfile/decoder.go
index c1269a1..6618475 100644
--- a/plumbing/format/idxfile/decoder.go
+++ b/plumbing/format/idxfile/decoder.go
@@ -5,8 +5,8 @@ import (
"errors"
"io"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/utils/binary"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/utils/binary"
)
var (
diff --git a/plumbing/format/idxfile/decoder_test.go b/plumbing/format/idxfile/decoder_test.go
index 499762d..27aa59b 100644
--- a/plumbing/format/idxfile/decoder_test.go
+++ b/plumbing/format/idxfile/decoder_test.go
@@ -7,8 +7,8 @@ import (
. "gopkg.in/check.v1"
"github.com/src-d/go-git-fixtures"
- "srcd.works/go-git.v4/plumbing/format/packfile"
- "srcd.works/go-git.v4/storage/memory"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
+ "gopkg.in/src-d/go-git.v4/storage/memory"
)
func Test(t *testing.T) { TestingT(t) }
diff --git a/plumbing/format/idxfile/encoder.go b/plumbing/format/idxfile/encoder.go
index 374d053..71e1b3f 100644
--- a/plumbing/format/idxfile/encoder.go
+++ b/plumbing/format/idxfile/encoder.go
@@ -6,7 +6,7 @@ import (
"io"
"sort"
- "srcd.works/go-git.v4/utils/binary"
+ "gopkg.in/src-d/go-git.v4/utils/binary"
)
// Encoder writes Idxfile structs to an output stream.
diff --git a/plumbing/format/idxfile/encoder_test.go b/plumbing/format/idxfile/encoder_test.go
index 2804aee..fab87b3 100644
--- a/plumbing/format/idxfile/encoder_test.go
+++ b/plumbing/format/idxfile/encoder_test.go
@@ -6,7 +6,7 @@ import (
. "gopkg.in/check.v1"
"github.com/src-d/go-git-fixtures"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
func (s *IdxfileSuite) TestEncode(c *C) {
diff --git a/plumbing/format/idxfile/idxfile.go b/plumbing/format/idxfile/idxfile.go
index b39295a..5a718f3 100644
--- a/plumbing/format/idxfile/idxfile.go
+++ b/plumbing/format/idxfile/idxfile.go
@@ -1,6 +1,6 @@
package idxfile
-import "srcd.works/go-git.v4/plumbing"
+import "gopkg.in/src-d/go-git.v4/plumbing"
const (
// VersionSupported is the only idx version supported.
diff --git a/plumbing/format/index/decoder.go b/plumbing/format/index/decoder.go
index 59581da..4bc5af1 100644
--- a/plumbing/format/index/decoder.go
+++ b/plumbing/format/index/decoder.go
@@ -10,8 +10,8 @@ import (
"strconv"
"time"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/utils/binary"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/utils/binary"
)
var (
diff --git a/plumbing/format/index/decoder_test.go b/plumbing/format/index/decoder_test.go
index 3a6e0d4..fd83ffb 100644
--- a/plumbing/format/index/decoder_test.go
+++ b/plumbing/format/index/decoder_test.go
@@ -3,8 +3,8 @@ package index
import (
"testing"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/filemode"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/filemode"
"github.com/src-d/go-git-fixtures"
. "gopkg.in/check.v1"
diff --git a/plumbing/format/index/encoder.go b/plumbing/format/index/encoder.go
index bdb10c1..d568f15 100644
--- a/plumbing/format/index/encoder.go
+++ b/plumbing/format/index/encoder.go
@@ -9,7 +9,7 @@ import (
"sort"
"time"
- "srcd.works/go-git.v4/utils/binary"
+ "gopkg.in/src-d/go-git.v4/utils/binary"
)
var (
diff --git a/plumbing/format/index/encoder_test.go b/plumbing/format/index/encoder_test.go
index a6a0ea2..f76fafe 100644
--- a/plumbing/format/index/encoder_test.go
+++ b/plumbing/format/index/encoder_test.go
@@ -6,7 +6,7 @@ import (
"time"
. "gopkg.in/check.v1"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
func (s *IndexSuite) TestEncode(c *C) {
diff --git a/plumbing/format/index/index.go b/plumbing/format/index/index.go
index e706058..ee50efd 100644
--- a/plumbing/format/index/index.go
+++ b/plumbing/format/index/index.go
@@ -4,8 +4,8 @@ import (
"errors"
"time"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/filemode"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/filemode"
)
var (
diff --git a/plumbing/format/objfile/common_test.go b/plumbing/format/objfile/common_test.go
index 26cf768..7c8b75c 100644
--- a/plumbing/format/objfile/common_test.go
+++ b/plumbing/format/objfile/common_test.go
@@ -5,7 +5,7 @@ import (
"testing"
. "gopkg.in/check.v1"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
type objfileFixture struct {
diff --git a/plumbing/format/objfile/reader.go b/plumbing/format/objfile/reader.go
index 2bf9762..e7e119c 100644
--- a/plumbing/format/objfile/reader.go
+++ b/plumbing/format/objfile/reader.go
@@ -6,8 +6,8 @@ import (
"io"
"strconv"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/format/packfile"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
)
var (
diff --git a/plumbing/format/objfile/reader_test.go b/plumbing/format/objfile/reader_test.go
index 2fcdc5b..715792d 100644
--- a/plumbing/format/objfile/reader_test.go
+++ b/plumbing/format/objfile/reader_test.go
@@ -8,7 +8,7 @@ import (
"io/ioutil"
. "gopkg.in/check.v1"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
type SuiteReader struct{}
diff --git a/plumbing/format/objfile/writer.go b/plumbing/format/objfile/writer.go
index 16199e5..5555243 100644
--- a/plumbing/format/objfile/writer.go
+++ b/plumbing/format/objfile/writer.go
@@ -6,7 +6,7 @@ import (
"io"
"strconv"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
var (
diff --git a/plumbing/format/objfile/writer_test.go b/plumbing/format/objfile/writer_test.go
index ae1031f..46dbea6 100644
--- a/plumbing/format/objfile/writer_test.go
+++ b/plumbing/format/objfile/writer_test.go
@@ -7,7 +7,7 @@ import (
"io"
. "gopkg.in/check.v1"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
type SuiteWriter struct{}
diff --git a/plumbing/format/packfile/common.go b/plumbing/format/packfile/common.go
index 930a80f..6402cd0 100644
--- a/plumbing/format/packfile/common.go
+++ b/plumbing/format/packfile/common.go
@@ -3,7 +3,7 @@ package packfile
import (
"io"
- "srcd.works/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
)
var signature = []byte{'P', 'A', 'C', 'K'}
diff --git a/plumbing/format/packfile/common_test.go b/plumbing/format/packfile/common_test.go
index 17d361e..387c0d1 100644
--- a/plumbing/format/packfile/common_test.go
+++ b/plumbing/format/packfile/common_test.go
@@ -3,7 +3,7 @@ package packfile
import (
"testing"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/packfile/decoder.go b/plumbing/format/packfile/decoder.go
index cd439b0..f3328ef 100644
--- a/plumbing/format/packfile/decoder.go
+++ b/plumbing/format/packfile/decoder.go
@@ -3,9 +3,9 @@ package packfile
import (
"bytes"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/cache"
- "srcd.works/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/cache"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
)
// Format specifies if the packfile uses ref-deltas or ofs-deltas.
diff --git a/plumbing/format/packfile/decoder_test.go b/plumbing/format/packfile/decoder_test.go
index bc40b30..16b0ca2 100644
--- a/plumbing/format/packfile/decoder_test.go
+++ b/plumbing/format/packfile/decoder_test.go
@@ -3,15 +3,15 @@ package packfile_test
import (
"io"
- "srcd.works/go-billy.v1/memfs"
+ "gopkg.in/src-d/go-billy.v1/memfs"
"github.com/src-d/go-git-fixtures"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/format/idxfile"
- "srcd.works/go-git.v4/plumbing/format/packfile"
- "srcd.works/go-git.v4/plumbing/storer"
- "srcd.works/go-git.v4/storage/filesystem"
- "srcd.works/go-git.v4/storage/memory"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem"
+ "gopkg.in/src-d/go-git.v4/storage/memory"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/packfile/delta_selector.go b/plumbing/format/packfile/delta_selector.go
index 83bfc27..a73a209 100644
--- a/plumbing/format/packfile/delta_selector.go
+++ b/plumbing/format/packfile/delta_selector.go
@@ -3,8 +3,8 @@ package packfile
import (
"sort"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
)
const (
diff --git a/plumbing/format/packfile/delta_selector_test.go b/plumbing/format/packfile/delta_selector_test.go
index 2951ba7..9a8833f 100644
--- a/plumbing/format/packfile/delta_selector_test.go
+++ b/plumbing/format/packfile/delta_selector_test.go
@@ -1,8 +1,8 @@
package packfile
import (
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/storage/memory"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/storage/memory"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/packfile/diff_delta.go b/plumbing/format/packfile/diff_delta.go
index c25e194..40d450f 100644
--- a/plumbing/format/packfile/diff_delta.go
+++ b/plumbing/format/packfile/diff_delta.go
@@ -3,7 +3,7 @@ package packfile
import (
"io/ioutil"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
// See https://github.com/jelmer/dulwich/blob/master/dulwich/pack.py and
diff --git a/plumbing/format/packfile/encoder.go b/plumbing/format/packfile/encoder.go
index a0a13f8..ae83752 100644
--- a/plumbing/format/packfile/encoder.go
+++ b/plumbing/format/packfile/encoder.go
@@ -6,9 +6,9 @@ import (
"fmt"
"io"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/storer"
- "srcd.works/go-git.v4/utils/binary"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/utils/binary"
)
// Encoder gets the data from the storage and write it into the writer in PACK
diff --git a/plumbing/format/packfile/encoder_test.go b/plumbing/format/packfile/encoder_test.go
index 749a808..fa01ed0 100644
--- a/plumbing/format/packfile/encoder_test.go
+++ b/plumbing/format/packfile/encoder_test.go
@@ -4,8 +4,8 @@ import (
"bytes"
"github.com/src-d/go-git-fixtures"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/storage/memory"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/storage/memory"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/packfile/object_pack.go b/plumbing/format/packfile/object_pack.go
index cc978f4..a3e99c0 100644
--- a/plumbing/format/packfile/object_pack.go
+++ b/plumbing/format/packfile/object_pack.go
@@ -1,6 +1,6 @@
package packfile
-import "srcd.works/go-git.v4/plumbing"
+import "gopkg.in/src-d/go-git.v4/plumbing"
// ObjectToPack is a representation of an object that is going to be into a
// pack file.
diff --git a/plumbing/format/packfile/object_pack_test.go b/plumbing/format/packfile/object_pack_test.go
index 0d3f038..ddc7ab5 100644
--- a/plumbing/format/packfile/object_pack_test.go
+++ b/plumbing/format/packfile/object_pack_test.go
@@ -3,7 +3,7 @@ package packfile
import (
"io"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/packfile/patch_delta.go b/plumbing/format/packfile/patch_delta.go
index 1830cd7..840f840 100644
--- a/plumbing/format/packfile/patch_delta.go
+++ b/plumbing/format/packfile/patch_delta.go
@@ -3,7 +3,7 @@ package packfile
import (
"io/ioutil"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
// See https://github.com/git/git/blob/49fa3dc76179e04b0833542fa52d0f287a4955ac/delta.h
diff --git a/plumbing/format/packfile/scanner.go b/plumbing/format/packfile/scanner.go
index eeb4b3b..d8cece6 100644
--- a/plumbing/format/packfile/scanner.go
+++ b/plumbing/format/packfile/scanner.go
@@ -10,8 +10,8 @@ import (
"io"
"io/ioutil"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/utils/binary"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/utils/binary"
)
var (
diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go
index 5f9fe1b..f2aa5fb 100644
--- a/plumbing/format/packfile/scanner_test.go
+++ b/plumbing/format/packfile/scanner_test.go
@@ -6,7 +6,7 @@ import (
. "gopkg.in/check.v1"
"github.com/src-d/go-git-fixtures"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
type ScannerSuite struct {
diff --git a/plumbing/format/pktline/encoder_test.go b/plumbing/format/pktline/encoder_test.go
index 8bd8446..d1258af 100644
--- a/plumbing/format/pktline/encoder_test.go
+++ b/plumbing/format/pktline/encoder_test.go
@@ -6,7 +6,7 @@ import (
"strings"
"testing"
- "srcd.works/go-git.v4/plumbing/format/pktline"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/pktline"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/pktline/scanner_test.go b/plumbing/format/pktline/scanner_test.go
index b3c8f35..b8a78ec 100644
--- a/plumbing/format/pktline/scanner_test.go
+++ b/plumbing/format/pktline/scanner_test.go
@@ -7,7 +7,7 @@ import (
"io"
"strings"
- "srcd.works/go-git.v4/plumbing/format/pktline"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/pktline"
. "gopkg.in/check.v1"
)