diff options
author | Santiago M. Mola <santi@mola.io> | 2017-03-10 12:36:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-10 12:36:01 +0100 |
commit | 4eef16a98d093057f1e4c560da4ed3bbba67cd76 (patch) | |
tree | e09571ad1687f6ce747b6956728997e05432e0a9 /plumbing/object | |
parent | f64e4b856865bc37f45e55ef094060481b53928e (diff) | |
parent | 8df64141e32abd9bd07d5dfd917c76a8a6dbe3f6 (diff) | |
download | go-git-4eef16a98d093057f1e4c560da4ed3bbba67cd76.tar.gz |
Merge pull request #303 from ajnavarro/fix/gopkg-in
project: move imports from srcd.works to gopkg.in
Diffstat (limited to 'plumbing/object')
-rw-r--r-- | plumbing/object/blob.go | 6 | ||||
-rw-r--r-- | plumbing/object/blob_test.go | 2 | ||||
-rw-r--r-- | plumbing/object/change.go | 2 | ||||
-rw-r--r-- | plumbing/object/change_adaptor.go | 4 | ||||
-rw-r--r-- | plumbing/object/change_adaptor_test.go | 12 | ||||
-rw-r--r-- | plumbing/object/change_test.go | 10 | ||||
-rw-r--r-- | plumbing/object/commit.go | 6 | ||||
-rw-r--r-- | plumbing/object/commit_test.go | 4 | ||||
-rw-r--r-- | plumbing/object/commit_walker.go | 2 | ||||
-rw-r--r-- | plumbing/object/difftree.go | 4 | ||||
-rw-r--r-- | plumbing/object/difftree_test.go | 14 | ||||
-rw-r--r-- | plumbing/object/file.go | 6 | ||||
-rw-r--r-- | plumbing/object/file_test.go | 8 | ||||
-rw-r--r-- | plumbing/object/object.go | 4 | ||||
-rw-r--r-- | plumbing/object/object_test.go | 8 | ||||
-rw-r--r-- | plumbing/object/tag.go | 6 | ||||
-rw-r--r-- | plumbing/object/tag_test.go | 6 | ||||
-rw-r--r-- | plumbing/object/tree.go | 8 | ||||
-rw-r--r-- | plumbing/object/tree_test.go | 8 | ||||
-rw-r--r-- | plumbing/object/treenoder.go | 6 |
20 files changed, 63 insertions, 63 deletions
diff --git a/plumbing/object/blob.go b/plumbing/object/blob.go index 4c9e84d..2771416 100644 --- a/plumbing/object/blob.go +++ b/plumbing/object/blob.go @@ -3,9 +3,9 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Blob is used to store arbitrary data - it is generally a file. diff --git a/plumbing/object/blob_test.go b/plumbing/object/blob_test.go index 955aa46..5ed9de0 100644 --- a/plumbing/object/blob_test.go +++ b/plumbing/object/blob_test.go @@ -4,7 +4,7 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/change.go b/plumbing/object/change.go index 5e32e5b..d29836d 100644 --- a/plumbing/object/change.go +++ b/plumbing/object/change.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" ) // Change values represent a detected change between two git trees. For diff --git a/plumbing/object/change_adaptor.go b/plumbing/object/change_adaptor.go index e97fd93..cf8de6c 100644 --- a/plumbing/object/change_adaptor.go +++ b/plumbing/object/change_adaptor.go @@ -3,8 +3,8 @@ package object import ( "fmt" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // The folowing functions transform changes types form the merkletrie diff --git a/plumbing/object/change_adaptor_test.go b/plumbing/object/change_adaptor_test.go index b42a3b3..566e6de 100644 --- a/plumbing/object/change_adaptor_test.go +++ b/plumbing/object/change_adaptor_test.go @@ -3,12 +3,12 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/change_test.go b/plumbing/object/change_test.go index 4a144fa..3bab5d2 100644 --- a/plumbing/object/change_test.go +++ b/plumbing/object/change_test.go @@ -3,11 +3,11 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" fixtures "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/commit.go b/plumbing/object/commit.go index 7238f5c..fff4f53 100644 --- a/plumbing/object/commit.go +++ b/plumbing/object/commit.go @@ -8,9 +8,9 @@ import ( "sort" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Hash represents the hash of an object diff --git a/plumbing/object/commit_test.go b/plumbing/object/commit_test.go index be42906..d30e1c4 100644 --- a/plumbing/object/commit_test.go +++ b/plumbing/object/commit_test.go @@ -5,10 +5,10 @@ import ( "time" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/filesystem" ) type SuiteCommit struct { diff --git a/plumbing/object/commit_walker.go b/plumbing/object/commit_walker.go index 8d70abe..b986067 100644 --- a/plumbing/object/commit_walker.go +++ b/plumbing/object/commit_walker.go @@ -3,7 +3,7 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type commitWalker struct { diff --git a/plumbing/object/difftree.go b/plumbing/object/difftree.go index 3bc29cb..87a7153 100644 --- a/plumbing/object/difftree.go +++ b/plumbing/object/difftree.go @@ -3,8 +3,8 @@ package object import ( "bytes" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // DiffTree compares the content and mode of the blobs found via two diff --git a/plumbing/object/difftree_test.go b/plumbing/object/difftree_test.go index 11f6b23..eb68d4d 100644 --- a/plumbing/object/difftree_test.go +++ b/plumbing/object/difftree_test.go @@ -3,13 +3,13 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/file.go b/plumbing/object/file.go index 5f24cf0..6932c31 100644 --- a/plumbing/object/file.go +++ b/plumbing/object/file.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // File represents git file objects. diff --git a/plumbing/object/file_test.go b/plumbing/object/file_test.go index 573664b..8c8634d 100644 --- a/plumbing/object/file_test.go +++ b/plumbing/object/file_test.go @@ -3,10 +3,10 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/object.go b/plumbing/object/object.go index ca5c541..701145d 100644 --- a/plumbing/object/object.go +++ b/plumbing/object/object.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) // ErrUnsupportedObject trigger when a non-supported object is being decoded. diff --git a/plumbing/object/object_test.go b/plumbing/object/object_test.go index 46b0065..6d9028f 100644 --- a/plumbing/object/object_test.go +++ b/plumbing/object/object_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/tag.go b/plumbing/object/tag.go index 549e337..2feeea7 100644 --- a/plumbing/object/tag.go +++ b/plumbing/object/tag.go @@ -7,9 +7,9 @@ import ( "io" stdioutil "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Tag represents an annotated tag object. It points to a single git object of diff --git a/plumbing/object/tag_test.go b/plumbing/object/tag_test.go index 8fbd932..deb961e 100644 --- a/plumbing/object/tag_test.go +++ b/plumbing/object/tag_test.go @@ -6,9 +6,9 @@ import ( "time" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/tree.go b/plumbing/object/tree.go index 071d064..e70b5cd 100644 --- a/plumbing/object/tree.go +++ b/plumbing/object/tree.go @@ -8,10 +8,10 @@ import ( "path" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) const ( diff --git a/plumbing/object/tree_test.go b/plumbing/object/tree_test.go index 69c0463..cf5ad5f 100644 --- a/plumbing/object/tree_test.go +++ b/plumbing/object/tree_test.go @@ -3,10 +3,10 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" fixtures "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/treenoder.go b/plumbing/object/treenoder.go index 80cd9b0..4da8298 100644 --- a/plumbing/object/treenoder.go +++ b/plumbing/object/treenoder.go @@ -11,9 +11,9 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) type treeNoder struct { |