fork of go-git with some jj specific features

*: migration from gopkg to go modules

Changed files
+838 -836
_examples
branch
checkout
clone
auth
basic
access_token
username_password
commit
context
custom_http
log
ls
ls-remote
merge_base
open
progress
pull
push
remotes
revision
showcase
storage
tag
cli
config
plumbing
cache
format
object
protocol
revlist
storer
transport
storage
utils
+1 -1
.travis.yml
··· 4 - "1.11" 5 - "1.12" 6 7 - go_import_path: gopkg.in/src-d/go-git.v4 8 9 env: 10 - GIT_VERSION=master
··· 4 - "1.11" 5 - "1.12" 6 7 + go_import_path: github.com/go-git/go-git/v5 8 9 env: 10 - GIT_VERSION=master
+1 -1
Makefile
··· 15 COVERAGE_MODE = atomic 16 17 ifneq ($(origin CI), undefined) 18 - WORKDIR := $(GOPATH)/src/gopkg.in/src-d/go-git.v4 19 endif 20 21 build-git:
··· 15 COVERAGE_MODE = atomic 16 17 ifneq ($(origin CI), undefined) 18 + WORKDIR := $(GOPATH)/src/github.com/go-git/go-git/v5 19 endif 20 21 build-git:
+3 -3
README.md
··· 1 ![go-git logo](https://cdn.rawgit.com/src-d/artwork/02036484/go-git/files/go-git-github-readme-header.png) 2 - [![GoDoc](https://godoc.org/gopkg.in/src-d/go-git.v4?status.svg)](https://godoc.org/github.com/src-d/go-git) [![Build Status](https://travis-ci.org/src-d/go-git.svg)](https://travis-ci.org/src-d/go-git) [![Build status](https://ci.appveyor.com/api/projects/status/nyidskwifo4py6ub?svg=true)](https://ci.appveyor.com/project/mcuadros/go-git) [![codecov.io](https://codecov.io/github/src-d/go-git/coverage.svg)](https://codecov.io/github/src-d/go-git) [![Go Report Card](https://goreportcard.com/badge/github.com/src-d/go-git)](https://goreportcard.com/report/github.com/src-d/go-git) 3 4 *go-git* is a highly extensible git implementation library written in **pure Go**. 5 6 - It can be used to manipulate git repositories at low level *(plumbing)* or high level *(porcelain)*, through an idiomatic Go API. It also supports several types of storage, such as in-memory filesystems, or custom implementations thanks to the [`Storer`](https://godoc.org/gopkg.in/src-d/go-git.v4/plumbing/storer) interface. 7 8 It's being actively developed since 2015 and is being used extensively by [source{d}](https://sourced.tech/) and [Keybase](https://keybase.io/blog/encrypted-git-for-everyone), and by many other libraries and tools. 9 ··· 21 The recommended way to install *go-git* is: 22 23 ``` 24 - go get -u gopkg.in/src-d/go-git.v4/... 25 ``` 26 27 > We use [gopkg.in](http://labix.org/gopkg.in) to version the API, this means that when `go get` clones the package, it's the latest tag matching `v4.*` that is cloned and not the master branch.
··· 1 ![go-git logo](https://cdn.rawgit.com/src-d/artwork/02036484/go-git/files/go-git-github-readme-header.png) 2 + [![GoDoc](https://godoc.org/github.com/go-git/go-git/v5?status.svg)](https://godoc.org/github.com/src-d/go-git) [![Build Status](https://travis-ci.org/src-d/go-git.svg)](https://travis-ci.org/src-d/go-git) [![Build status](https://ci.appveyor.com/api/projects/status/nyidskwifo4py6ub?svg=true)](https://ci.appveyor.com/project/mcuadros/go-git) [![codecov.io](https://codecov.io/github/src-d/go-git/coverage.svg)](https://codecov.io/github/src-d/go-git) [![Go Report Card](https://goreportcard.com/badge/github.com/src-d/go-git)](https://goreportcard.com/report/github.com/src-d/go-git) 3 4 *go-git* is a highly extensible git implementation library written in **pure Go**. 5 6 + It can be used to manipulate git repositories at low level *(plumbing)* or high level *(porcelain)*, through an idiomatic Go API. It also supports several types of storage, such as in-memory filesystems, or custom implementations thanks to the [`Storer`](https://godoc.org/github.com/go-git/go-git/v5/plumbing/storer) interface. 7 8 It's being actively developed since 2015 and is being used extensively by [source{d}](https://sourced.tech/) and [Keybase](https://keybase.io/blog/encrypted-git-for-everyone), and by many other libraries and tools. 9 ··· 21 The recommended way to install *go-git* is: 22 23 ``` 24 + go get -u github.com/go-git/go-git/v5/... 25 ``` 26 27 > We use [gopkg.in](http://labix.org/gopkg.in) to version the API, this means that when `go get` clones the package, it's the latest tag matching `v4.*` that is cloned and not the master branch.
+3 -3
_examples/branch/main.go
··· 3 import ( 4 "os" 5 6 - "gopkg.in/src-d/go-git.v4" 7 - . "gopkg.in/src-d/go-git.v4/_examples" 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 ) 10 11 // An example of how to create and remove branches or any other kind of reference.
··· 3 import ( 4 "os" 5 6 + "github.com/go-git/go-git/v5" 7 + . "github.com/go-git/go-git/v5/_examples" 8 + "github.com/go-git/go-git/v5/plumbing" 9 ) 10 11 // An example of how to create and remove branches or any other kind of reference.
+3 -3
_examples/checkout/main.go
··· 4 "fmt" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 ) 11 12 // Basic example of how to checkout a specific commit.
··· 4 "fmt" 5 "os" 6 7 + "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 + "github.com/go-git/go-git/v5/plumbing" 10 ) 11 12 // Basic example of how to checkout a specific commit.
+3 -3
_examples/clone/auth/basic/access_token/main.go
··· 4 "fmt" 5 "os" 6 7 - git "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" 10 ) 11 12 func main() {
··· 4 "fmt" 5 "os" 6 7 + git "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 + "github.com/go-git/go-git/v5/plumbing/transport/http" 10 ) 11 12 func main() {
+3 -3
_examples/clone/auth/basic/username_password/main.go
··· 4 "fmt" 5 "os" 6 7 - git "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" 10 ) 11 12 func main() {
··· 4 "fmt" 5 "os" 6 7 + git "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 + "github.com/go-git/go-git/v5/plumbing/transport/http" 10 ) 11 12 func main() {
+2 -2
_examples/clone/main.go
··· 4 "fmt" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 ) 10 11 // Basic example of how to clone a repository using clone options.
··· 4 "fmt" 5 "os" 6 7 + "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 ) 10 11 // Basic example of how to clone a repository using clone options.
+3 -3
_examples/commit/main.go
··· 7 "path/filepath" 8 "time" 9 10 - "gopkg.in/src-d/go-git.v4" 11 - . "gopkg.in/src-d/go-git.v4/_examples" 12 - "gopkg.in/src-d/go-git.v4/plumbing/object" 13 ) 14 15 // Basic example of how to commit changes to the current branch to an existing
··· 7 "path/filepath" 8 "time" 9 10 + "github.com/go-git/go-git/v5" 11 + . "github.com/go-git/go-git/v5/_examples" 12 + "github.com/go-git/go-git/v5/plumbing/object" 13 ) 14 15 // Basic example of how to commit changes to the current branch to an existing
+1 -1
_examples/common_test.go
··· 75 func packageFolder() string { 76 return filepath.Join( 77 build.Default.GOPATH, 78 - "src", "gopkg.in/src-d/go-git.v4", 79 ) 80 } 81
··· 75 func packageFolder() string { 76 return filepath.Join( 77 build.Default.GOPATH, 78 + "src", "github.com/go-git/go-git/v5", 79 ) 80 } 81
+2 -2
_examples/context/main.go
··· 5 "os" 6 "os/signal" 7 8 - "gopkg.in/src-d/go-git.v4" 9 - . "gopkg.in/src-d/go-git.v4/_examples" 10 ) 11 12 // Graceful cancellation example of a basic git operation such as Clone.
··· 5 "os" 6 "os/signal" 7 8 + "github.com/go-git/go-git/v5" 9 + . "github.com/go-git/go-git/v5/_examples" 10 ) 11 12 // Graceful cancellation example of a basic git operation such as Clone.
+5 -5
_examples/custom_http/main.go
··· 7 "os" 8 "time" 9 10 - "gopkg.in/src-d/go-git.v4" 11 - . "gopkg.in/src-d/go-git.v4/_examples" 12 - "gopkg.in/src-d/go-git.v4/plumbing/transport/client" 13 - githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http" 14 - "gopkg.in/src-d/go-git.v4/storage/memory" 15 ) 16 17 // Here is an example to configure http client according to our own needs.
··· 7 "os" 8 "time" 9 10 + "github.com/go-git/go-git/v5" 11 + . "github.com/go-git/go-git/v5/_examples" 12 + "github.com/go-git/go-git/v5/plumbing/transport/client" 13 + githttp "github.com/go-git/go-git/v5/plumbing/transport/http" 14 + "github.com/go-git/go-git/v5/storage/memory" 15 ) 16 17 // Here is an example to configure http client according to our own needs.
+4 -4
_examples/log/main.go
··· 4 "fmt" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 - "gopkg.in/src-d/go-git.v4/plumbing/object" 10 - "gopkg.in/src-d/go-git.v4/storage/memory" 11 ) 12 13 // Example of how to:
··· 4 "fmt" 5 "time" 6 7 + "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 + "github.com/go-git/go-git/v5/plumbing/object" 10 + "github.com/go-git/go-git/v5/storage/memory" 11 ) 12 13 // Example of how to:
+3 -3
_examples/ls-remote/main.go
··· 3 import ( 4 "log" 5 6 - "gopkg.in/src-d/go-git.v4" 7 - "gopkg.in/src-d/go-git.v4/config" 8 - "gopkg.in/src-d/go-git.v4/storage/memory" 9 ) 10 11 // Retrieve remote tags without cloning repository
··· 3 import ( 4 "log" 5 6 + "github.com/go-git/go-git/v5" 7 + "github.com/go-git/go-git/v5/config" 8 + "github.com/go-git/go-git/v5/storage/memory" 9 ) 10 11 // Retrieve remote tags without cloning repository
+10 -10
_examples/ls/main.go
··· 8 "strings" 9 10 "github.com/emirpasic/gods/trees/binaryheap" 11 - "gopkg.in/src-d/go-git.v4" 12 - . "gopkg.in/src-d/go-git.v4/_examples" 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 15 - commitgraph_fmt "gopkg.in/src-d/go-git.v4/plumbing/format/commitgraph" 16 - "gopkg.in/src-d/go-git.v4/plumbing/object" 17 - "gopkg.in/src-d/go-git.v4/plumbing/object/commitgraph" 18 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 19 20 - "gopkg.in/src-d/go-billy.v4" 21 - "gopkg.in/src-d/go-billy.v4/osfs" 22 ) 23 24 // Example how to resolve a revision into its commit counterpart
··· 8 "strings" 9 10 "github.com/emirpasic/gods/trees/binaryheap" 11 + "github.com/go-git/go-git/v5" 12 + . "github.com/go-git/go-git/v5/_examples" 13 + "github.com/go-git/go-git/v5/plumbing" 14 + "github.com/go-git/go-git/v5/plumbing/cache" 15 + commitgraph_fmt "github.com/go-git/go-git/v5/plumbing/format/commitgraph" 16 + "github.com/go-git/go-git/v5/plumbing/object" 17 + "github.com/go-git/go-git/v5/plumbing/object/commitgraph" 18 + "github.com/go-git/go-git/v5/storage/filesystem" 19 20 + "github.com/go-git/go-billy/v5" 21 + "github.com/go-git/go-billy/v5/osfs" 22 ) 23 24 // Example how to resolve a revision into its commit counterpart
+1 -1
_examples/merge_base/helpers.go
··· 5 "os" 6 "strings" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/object" 9 ) 10 11 func checkIfError(err error, code exitCode, mainReason string, v ...interface{}) {
··· 5 "os" 6 "strings" 7 8 + "github.com/go-git/go-git/v5/plumbing/object" 9 ) 10 11 func checkIfError(err error, code exitCode, mainReason string, v ...interface{}) {
+3 -3
_examples/merge_base/main.go
··· 3 import ( 4 "os" 5 6 - "gopkg.in/src-d/go-git.v4" 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/object" 9 ) 10 11 type exitCode int
··· 3 import ( 4 "os" 5 6 + "github.com/go-git/go-git/v5" 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/object" 9 ) 10 11 type exitCode int
+3 -3
_examples/open/main.go
··· 4 "fmt" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 - "gopkg.in/src-d/go-git.v4/plumbing/object" 10 ) 11 12 // Open an existing repository in a specific folder.
··· 4 "fmt" 5 "os" 6 7 + "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 + "github.com/go-git/go-git/v5/plumbing/object" 10 ) 11 12 // Open an existing repository in a specific folder.
+2 -2
_examples/progress/main.go
··· 3 import ( 4 "os" 5 6 - "gopkg.in/src-d/go-git.v4" 7 - . "gopkg.in/src-d/go-git.v4/_examples" 8 ) 9 10 // Example of how to show the progress when you do a basic clone operation.
··· 3 import ( 4 "os" 5 6 + "github.com/go-git/go-git/v5" 7 + . "github.com/go-git/go-git/v5/_examples" 8 ) 9 10 // Example of how to show the progress when you do a basic clone operation.
+2 -2
_examples/pull/main.go
··· 4 "fmt" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 ) 10 11 // Pull changes from a remote repository
··· 4 "fmt" 5 "os" 6 7 + "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 ) 10 11 // Pull changes from a remote repository
+2 -2
_examples/push/main.go
··· 3 import ( 4 "os" 5 6 - "gopkg.in/src-d/go-git.v4" 7 - . "gopkg.in/src-d/go-git.v4/_examples" 8 ) 9 10 // Example of how to open a repository in a specific path, and push to
··· 3 import ( 4 "os" 5 6 + "github.com/go-git/go-git/v5" 7 + . "github.com/go-git/go-git/v5/_examples" 8 ) 9 10 // Example of how to open a repository in a specific path, and push to
+5 -5
_examples/remotes/main.go
··· 3 import ( 4 "fmt" 5 6 - "gopkg.in/src-d/go-git.v4" 7 - . "gopkg.in/src-d/go-git.v4/_examples" 8 - "gopkg.in/src-d/go-git.v4/config" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/storage/memory" 11 ) 12 13 // Example of how to:
··· 3 import ( 4 "fmt" 5 6 + "github.com/go-git/go-git/v5" 7 + . "github.com/go-git/go-git/v5/_examples" 8 + "github.com/go-git/go-git/v5/config" 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/storage/memory" 11 ) 12 13 // Example of how to:
+3 -3
_examples/revision/main.go
··· 4 "fmt" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 ) 11 12 // Example how to resolve a revision into its commit counterpart
··· 4 "fmt" 5 "os" 6 7 + "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 + "github.com/go-git/go-git/v5/plumbing" 10 ) 11 12 // Example how to resolve a revision into its commit counterpart
+3 -3
_examples/showcase/main.go
··· 5 "os" 6 "strings" 7 8 - "gopkg.in/src-d/go-git.v4" 9 - "gopkg.in/src-d/go-git.v4/plumbing/object" 10 11 - . "gopkg.in/src-d/go-git.v4/_examples" 12 ) 13 14 // Example of an specific use case:
··· 5 "os" 6 "strings" 7 8 + "github.com/go-git/go-git/v5" 9 + "github.com/go-git/go-git/v5/plumbing/object" 10 11 + . "github.com/go-git/go-git/v5/_examples" 12 ) 13 14 // Example of an specific use case:
+1 -1
_examples/storage/README.md
··· 8 ### and what this means ... 9 *git* has a very well defined storage system, the `.git` directory, present on any repository. This is the place where `git` stores all the [`objects`](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects), [`references`](https://git-scm.com/book/es/v2/Git-Internals-Git-References) and [`configuration`](https://git-scm.com/docs/git-config#_configuration_file). This information is stored in plain files. 10 11 - Our original **go-git** version was designed to work in memory, some time after we added support to read the `.git`, and now we have added support for fully customized [storages](https://godoc.org/gopkg.in/src-d/go-git.v4/storage#Storer). 12 13 This means that the internal database of any repository can be saved and accessed on any support, databases, distributed filesystems, etc. This functionality is pretty similar to the [libgit2 backends](http://blog.deveo.com/your-git-repository-in-a-database-pluggable-backends-in-libgit2/) 14
··· 8 ### and what this means ... 9 *git* has a very well defined storage system, the `.git` directory, present on any repository. This is the place where `git` stores all the [`objects`](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects), [`references`](https://git-scm.com/book/es/v2/Git-Internals-Git-References) and [`configuration`](https://git-scm.com/docs/git-config#_configuration_file). This information is stored in plain files. 10 11 + Our original **go-git** version was designed to work in memory, some time after we added support to read the `.git`, and now we have added support for fully customized [storages](https://godoc.org/github.com/go-git/go-git/v5/storage#Storer). 12 13 This means that the internal database of any repository can be saved and accessed on any support, databases, distributed filesystems, etc. This functionality is pretty similar to the [libgit2 backends](http://blog.deveo.com/your-git-repository-in-a-database-pluggable-backends-in-libgit2/) 14
+4 -4
_examples/tag/main.go
··· 4 "fmt" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4" 8 - . "gopkg.in/src-d/go-git.v4/_examples" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/object" 11 ) 12 13 // Basic example of how to list tags.
··· 4 "fmt" 5 "os" 6 7 + "github.com/go-git/go-git/v5" 8 + . "github.com/go-git/go-git/v5/_examples" 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/object" 11 ) 12 13 // Basic example of how to list tags.
+3 -3
blame.go
··· 9 "time" 10 "unicode/utf8" 11 12 - "gopkg.in/src-d/go-git.v4/plumbing" 13 - "gopkg.in/src-d/go-git.v4/plumbing/object" 14 - "gopkg.in/src-d/go-git.v4/utils/diff" 15 ) 16 17 // BlameResult represents the result of a Blame operation.
··· 9 "time" 10 "unicode/utf8" 11 12 + "github.com/go-git/go-git/v5/plumbing" 13 + "github.com/go-git/go-git/v5/plumbing/object" 14 + "github.com/go-git/go-git/v5/utils/diff" 15 ) 16 17 // BlameResult represents the result of a Blame operation.
+2 -2
blame_test.go
··· 1 package git 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 - "gopkg.in/src-d/go-git.v4/plumbing/object" 6 7 . "gopkg.in/check.v1" 8 "gopkg.in/src-d/go-git-fixtures.v3"
··· 1 package git 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 + "github.com/go-git/go-git/v5/plumbing/object" 6 7 . "gopkg.in/check.v1" 8 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
cli/go-git/receive_pack.go
··· 5 "os" 6 "path/filepath" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/transport/file" 9 ) 10 11 type CmdReceivePack struct {
··· 5 "os" 6 "path/filepath" 7 8 + "github.com/go-git/go-git/v5/plumbing/transport/file" 9 ) 10 11 type CmdReceivePack struct {
+1 -1
cli/go-git/upload_pack.go
··· 5 "os" 6 "path/filepath" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/transport/file" 9 ) 10 11 type CmdUploadPack struct {
··· 5 "os" 6 "path/filepath" 7 8 + "github.com/go-git/go-git/v5/plumbing/transport/file" 9 ) 10 11 type CmdUploadPack struct {
+9 -9
common_test.go
··· 3 import ( 4 "testing" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 8 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 9 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 10 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 11 - "gopkg.in/src-d/go-git.v4/storage/memory" 12 13 . "gopkg.in/check.v1" 14 - "gopkg.in/src-d/go-billy.v4" 15 - "gopkg.in/src-d/go-billy.v4/memfs" 16 - "gopkg.in/src-d/go-billy.v4/util" 17 "gopkg.in/src-d/go-git-fixtures.v3" 18 ) 19
··· 3 import ( 4 "testing" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/cache" 8 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 9 + "github.com/go-git/go-git/v5/plumbing/transport" 10 + "github.com/go-git/go-git/v5/storage/filesystem" 11 + "github.com/go-git/go-git/v5/storage/memory" 12 13 + "github.com/go-git/go-billy/v5" 14 + "github.com/go-git/go-billy/v5/memfs" 15 + "github.com/go-git/go-billy/v5/util" 16 . "gopkg.in/check.v1" 17 "gopkg.in/src-d/go-git-fixtures.v3" 18 ) 19
+2 -2
config/branch.go
··· 3 import ( 4 "errors" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - format "gopkg.in/src-d/go-git.v4/plumbing/format/config" 8 ) 9 10 var (
··· 3 import ( 4 "errors" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + format "github.com/go-git/go-git/v5/plumbing/format/config" 8 ) 9 10 var (
+1 -1
config/branch_test.go
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 - "gopkg.in/src-d/go-git.v4/plumbing" 6 ) 7 8 type BranchSuite struct{}
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 + "github.com/go-git/go-git/v5/plumbing" 6 ) 7 8 type BranchSuite struct{}
+2 -2
config/config.go
··· 8 "sort" 9 "strconv" 10 11 - "gopkg.in/src-d/go-git.v4/internal/url" 12 - format "gopkg.in/src-d/go-git.v4/plumbing/format/config" 13 ) 14 15 const (
··· 8 "sort" 9 "strconv" 10 11 + "github.com/go-git/go-git/v5/internal/url" 12 + format "github.com/go-git/go-git/v5/plumbing/format/config" 13 ) 14 15 const (
+1 -1
config/config_test.go
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 - "gopkg.in/src-d/go-git.v4/plumbing" 6 ) 7 8 type ConfigSuite struct{}
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 + "github.com/go-git/go-git/v5/plumbing" 6 ) 7 8 type ConfigSuite struct{}
+1 -1
config/modules.go
··· 5 "errors" 6 "regexp" 7 8 - format "gopkg.in/src-d/go-git.v4/plumbing/format/config" 9 ) 10 11 var (
··· 5 "errors" 6 "regexp" 7 8 + format "github.com/go-git/go-git/v5/plumbing/format/config" 9 ) 10 11 var (
+1 -1
config/refspec.go
··· 4 "errors" 5 "strings" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 ) 9 10 const (
··· 4 "errors" 5 "strings" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 ) 9 10 const (
+1 -1
config/refspec_test.go
··· 4 "testing" 5 6 . "gopkg.in/check.v1" 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 ) 9 10 type RefSpecSuite struct{}
··· 4 "testing" 5 6 . "gopkg.in/check.v1" 7 + "github.com/go-git/go-git/v5/plumbing" 8 ) 9 10 type RefSpecSuite struct{}
+1 -1
doc.go
··· 7 // It is highly extensible, we have been following the open/close principle in 8 // its design to facilitate extensions, mainly focusing the efforts on the 9 // persistence of the objects. 10 - package git // import "gopkg.in/src-d/go-git.v4"
··· 7 // It is highly extensible, we have been following the open/close principle in 8 // its design to facilitate extensions, mainly focusing the efforts on the 9 // persistence of the objects. 10 + package git
+6 -6
example_test.go
··· 8 "os" 9 "path/filepath" 10 11 - "gopkg.in/src-d/go-git.v4" 12 - "gopkg.in/src-d/go-git.v4/config" 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" 15 - "gopkg.in/src-d/go-git.v4/storage/memory" 16 17 - "gopkg.in/src-d/go-billy.v4/memfs" 18 ) 19 20 func ExampleClone() {
··· 8 "os" 9 "path/filepath" 10 11 + "github.com/go-git/go-git/v5" 12 + "github.com/go-git/go-git/v5/config" 13 + "github.com/go-git/go-git/v5/plumbing" 14 + "github.com/go-git/go-git/v5/plumbing/transport/http" 15 + "github.com/go-git/go-git/v5/storage/memory" 16 17 + "github.com/go-git/go-billy/v5/memfs" 18 ) 19 20 func ExampleClone() {
+8 -9
go.mod
··· 1 - module gopkg.in/src-d/go-git.v4 2 3 require ( 4 github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 // indirect ··· 7 github.com/emirpasic/gods v1.12.0 8 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect 9 github.com/gliderlabs/ssh v0.2.2 10 github.com/google/go-cmp v0.3.0 11 github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 12 github.com/jessevdk/go-flags v1.4.0 13 github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd 14 github.com/mitchellh/go-homedir v1.1.0 15 - github.com/pelletier/go-buffruneio v0.2.0 // indirect 16 github.com/pkg/errors v0.8.1 // indirect 17 - github.com/sergi/go-diff v1.0.0 18 github.com/src-d/gcfg v1.4.0 19 - github.com/stretchr/objx v0.2.0 // indirect 20 github.com/xanzy/ssh-agent v0.2.1 21 - golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 22 - golang.org/x/net v0.0.0-20190724013045-ca1201d0de80 23 golang.org/x/text v0.3.2 24 - golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a // indirect 25 - gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 26 - gopkg.in/src-d/go-billy.v4 v4.3.2 27 gopkg.in/src-d/go-git-fixtures.v3 v3.5.0 28 gopkg.in/warnings.v0 v0.1.2 // indirect 29 ) 30
··· 1 + module github.com/go-git/go-git/v5 2 3 require ( 4 github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 // indirect ··· 7 github.com/emirpasic/gods v1.12.0 8 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect 9 github.com/gliderlabs/ssh v0.2.2 10 + github.com/go-git/go-billy/v5 v5.0.0 11 github.com/google/go-cmp v0.3.0 12 github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 13 github.com/jessevdk/go-flags v1.4.0 14 github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd 15 github.com/mitchellh/go-homedir v1.1.0 16 github.com/pkg/errors v0.8.1 // indirect 17 + github.com/sergi/go-diff v1.1.0 18 github.com/src-d/gcfg v1.4.0 19 github.com/xanzy/ssh-agent v0.2.1 20 + golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073 21 + golang.org/x/net v0.0.0-20200301022130-244492dfa37a 22 golang.org/x/text v0.3.2 23 + gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f 24 + gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect 25 gopkg.in/src-d/go-git-fixtures.v3 v3.5.0 26 + github.com/go-git/go-git/v5 v4.13.1 27 gopkg.in/warnings.v0 v0.1.2 // indirect 28 ) 29
+26 -23
go.sum
··· 5 github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= 6 github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= 7 github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= 8 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 9 github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 10 github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= ··· 12 github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= 13 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= 14 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= 15 - github.com/gliderlabs/ssh v0.1.3 h1:cBU46h1lYQk5f2Z+jZbewFKy+1zzE2aUX/ilcPDAm9M= 16 - github.com/gliderlabs/ssh v0.1.3/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= 17 github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= 18 github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= 19 - github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= 20 - github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= 21 github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= 22 github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 23 github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= 24 github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= 25 github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= 26 github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= 27 - github.com/kevinburke/ssh_config v0.0.0-20180830205328-81db2a75821e h1:RgQk53JHp/Cjunrr1WlsXSZpqXn+uREuHvUVcK82CV8= 28 - github.com/kevinburke/ssh_config v0.0.0-20180830205328-81db2a75821e/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= 29 github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY= 30 github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= 31 github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= ··· 34 github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= 35 github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= 36 github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 37 github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= 38 github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= 39 - github.com/pelletier/go-buffruneio v0.2.0 h1:U4t4R6YkofJ5xHm3dJzuRpPZ0mr5MMCoAWooScCR7aA= 40 github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= 41 github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= 42 github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 43 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 44 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 45 - github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= 46 github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= 47 github.com/src-d/gcfg v1.4.0 h1:xXbNR5AlLSA315x2UO+fTSSAXCDf+Ar38/6oyGbDKQ4= 48 github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= 49 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 50 github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= 51 - github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= 52 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= 53 github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70= 54 github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= 55 golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= 56 golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 57 - golang.org/x/crypto v0.0.0-20190422183909-d864b10871cd h1:sMHc2rZHuzQmrbVoSpt9HgerkXPyIeCSO6k0zUMGfFk= 58 - golang.org/x/crypto v0.0.0-20190422183909-d864b10871cd/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 59 - golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 h1:HuIa8hRrWRSrqYzx1qI49NNxhdi2PrY7gxVSq1JjLDc= 60 golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 61 golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 62 - golang.org/x/net v0.0.0-20190420063019-afa5a82059c6 h1:HdqqaWmYAUI7/dmByKKEw+yxDksGSo+9GjkUc9Zp34E= 63 - golang.org/x/net v0.0.0-20190420063019-afa5a82059c6/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 64 - golang.org/x/net v0.0.0-20190502183928-7f726cade0ab h1:9RfW3ktsOZxgo9YNbBAjq1FWzc/igwEcUzZz8IXgSbk= 65 - golang.org/x/net v0.0.0-20190502183928-7f726cade0ab/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 66 golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 67 - golang.org/x/net v0.0.0-20190724013045-ca1201d0de80 h1:Ao/3l156eZf2AW5wK8a7/smtodRU+gha3+BeqJ69lRk= 68 golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 69 golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 70 - golang.org/x/sys v0.0.0-20180903190138-2b024373dcd9 h1:lkiLiLBHGoH3XnqSLUIaBsilGMUjI+Uy2Xu2JLUtTas= 71 - golang.org/x/sys v0.0.0-20180903190138-2b024373dcd9/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 72 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 73 golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 74 golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 75 - golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc= 76 - golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 77 golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e h1:D5TXcfTk7xF7hvieo4QErS3qqCB4teTffacDWr7CI+0= 78 golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 79 golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= 80 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 81 golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= 82 golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= 83 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 84 golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= 85 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= 86 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 87 - gopkg.in/src-d/go-billy.v4 v4.3.0 h1:KtlZ4c1OWbIs4jCv5ZXrTqG8EQocr0g/d4DjNg70aek= 88 - gopkg.in/src-d/go-billy.v4 v4.3.0/go.mod h1:tm33zBoOwxjYHZIE+OV8bxTWFMJLrconzFMd38aARFk= 89 gopkg.in/src-d/go-billy.v4 v4.3.2 h1:0SQA1pRztfTFx2miS8sA97XvooFeNOmvUenF4o0EcVg= 90 gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98= 91 gopkg.in/src-d/go-git-fixtures.v3 v3.5.0 h1:ivZFOIltbce2Mo8IjzUHAFoq/IylO9WHhNOAJK+LsJg= 92 gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g= 93 gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= 94 gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
··· 5 github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= 6 github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= 7 github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= 8 + github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= 9 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 10 github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 11 github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= ··· 13 github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= 14 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= 15 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= 16 github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= 17 github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= 18 + github.com/go-git/go-billy/v5 v5.0.0 h1:7NQHvd9FVid8VL4qVUMm8XifBK+2xCoZ2lSk0agRrHM= 19 + github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= 20 github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= 21 github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 22 github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= 23 github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= 24 github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= 25 github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= 26 github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY= 27 github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= 28 github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= ··· 31 github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= 32 github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= 33 github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 34 + github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= 35 + github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= 36 github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= 37 github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= 38 + github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= 39 + github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= 40 github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= 41 github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= 42 github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 43 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 44 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 45 github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= 46 + github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= 47 + github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= 48 github.com/src-d/gcfg v1.4.0 h1:xXbNR5AlLSA315x2UO+fTSSAXCDf+Ar38/6oyGbDKQ4= 49 github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= 50 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 51 github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= 52 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= 53 + github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= 54 + github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= 55 github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70= 56 github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= 57 golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= 58 golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 59 golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 60 + golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073 h1:xMPOj6Pz6UipU1wXLkrtqpHbR0AVFnyPEQq/wRWz9lM= 61 + golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 62 golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 63 golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 64 golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 65 + golang.org/x/net v0.0.0-20200301022130-244492dfa37a h1:GuSPYbZzB5/dcLNCwLQLsg3obCJtX9IJhpXkvY7kzk0= 66 + golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 67 golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 68 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 69 golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 70 golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 71 golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e h1:D5TXcfTk7xF7hvieo4QErS3qqCB4teTffacDWr7CI+0= 72 golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 73 + golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 h1:uYVVQ9WP/Ds2ROhcaGPeIdVq0RIXVLwsHlnvJ+cT1So= 74 + golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 75 golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= 76 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 77 golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= 78 golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= 79 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 80 golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= 81 + gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 82 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= 83 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 84 + gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 85 + gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= 86 + gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 87 gopkg.in/src-d/go-billy.v4 v4.3.2 h1:0SQA1pRztfTFx2miS8sA97XvooFeNOmvUenF4o0EcVg= 88 gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98= 89 gopkg.in/src-d/go-git-fixtures.v3 v3.5.0 h1:ivZFOIltbce2Mo8IjzUHAFoq/IylO9WHhNOAJK+LsJg= 90 gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g= 91 + github.com/go-git/go-git/v5 v4.13.1 h1:SRtFyV8Kxc0UP7aCHcijOMQGPxHSmMOPrzulQWolkYE= 92 + github.com/go-git/go-git/v5 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8= 93 gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= 94 gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= 95 + gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 96 + gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I= 97 + gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+4 -4
object_walker.go
··· 3 import ( 4 "fmt" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 8 - "gopkg.in/src-d/go-git.v4/plumbing/object" 9 - "gopkg.in/src-d/go-git.v4/storage" 10 ) 11 12 type objectWalker struct {
··· 3 import ( 4 "fmt" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/filemode" 8 + "github.com/go-git/go-git/v5/plumbing/object" 9 + "github.com/go-git/go-git/v5/storage" 10 ) 11 12 type objectWalker struct {
+5 -5
options.go
··· 7 "time" 8 9 "golang.org/x/crypto/openpgp" 10 - "gopkg.in/src-d/go-git.v4/config" 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/object" 13 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" 14 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 15 ) 16 17 // SubmoduleRescursivity defines how depth will affect any submodule recursive
··· 7 "time" 8 9 "golang.org/x/crypto/openpgp" 10 + "github.com/go-git/go-git/v5/config" 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/object" 13 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband" 14 + "github.com/go-git/go-git/v5/plumbing/transport" 15 ) 16 17 // SubmoduleRescursivity defines how depth will affect any submodule recursive
+1 -1
options_test.go
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 - "gopkg.in/src-d/go-git.v4/plumbing/object" 6 ) 7 8 type OptionsSuite struct {
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 + "github.com/go-git/go-git/v5/plumbing/object" 6 ) 7 8 type OptionsSuite struct {
+1 -1
plumbing/cache/common.go
··· 1 package cache 2 3 - import "gopkg.in/src-d/go-git.v4/plumbing" 4 5 const ( 6 Byte FileSize = 1 << (iota * 10)
··· 1 package cache 2 3 + import "github.com/go-git/go-git/v5/plumbing" 4 5 const ( 6 Byte FileSize = 1 << (iota * 10)
+1 -1
plumbing/cache/object_lru.go
··· 4 "container/list" 5 "sync" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 ) 9 10 // ObjectLRU implements an object cache with an LRU eviction policy and a
··· 4 "container/list" 5 "sync" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 ) 9 10 // ObjectLRU implements an object cache with an LRU eviction policy and a
+1 -1
plumbing/cache/object_test.go
··· 6 "sync" 7 "testing" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 11 . "gopkg.in/check.v1" 12 )
··· 6 "sync" 7 "testing" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 11 . "gopkg.in/check.v1" 12 )
+1 -1
plumbing/format/commitgraph/commitgraph.go
··· 3 import ( 4 "time" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 ) 8 9 // CommitData is a reduced representation of Commit as presented in the commit graph
··· 3 import ( 4 "time" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 ) 8 9 // CommitData is a reduced representation of Commit as presented in the commit graph
+2 -2
plumbing/format/commitgraph/commitgraph_test.go
··· 8 9 . "gopkg.in/check.v1" 10 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/commitgraph" 13 ) 14 15 func Test(t *testing.T) { TestingT(t) }
··· 8 9 . "gopkg.in/check.v1" 10 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/format/commitgraph" 13 ) 14 15 func Test(t *testing.T) { TestingT(t) }
+2 -2
plumbing/format/commitgraph/encoder.go
··· 5 "hash" 6 "io" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/utils/binary" 10 ) 11 12 // Encoder writes MemoryIndex structs to an output stream.
··· 5 "hash" 6 "io" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/utils/binary" 10 ) 11 12 // Encoder writes MemoryIndex structs to an output stream.
+2 -2
plumbing/format/commitgraph/file.go
··· 7 "io" 8 "time" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/utils/binary" 12 ) 13 14 var (
··· 7 "io" 8 "time" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/utils/binary" 12 ) 13 14 var (
+1 -1
plumbing/format/commitgraph/memory.go
··· 1 package commitgraph 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 ) 6 7 // MemoryIndex provides a way to build the commit-graph in memory
··· 1 package commitgraph 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 ) 6 7 // MemoryIndex provides a way to build the commit-graph in memory
+2 -2
plumbing/format/diff/patch.go
··· 1 package diff 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 6 ) 7 8 // Operation defines the operation of a diff item.
··· 1 package diff 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 + "github.com/go-git/go-git/v5/plumbing/filemode" 6 ) 7 8 // Operation defines the operation of a diff item.
+1 -1
plumbing/format/diff/unified_encoder.go
··· 7 "regexp" 8 "strings" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 ) 12 13 const (
··· 7 "regexp" 8 "strings" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 ) 12 13 const (
+2 -2
plumbing/format/diff/unified_encoder_test.go
··· 4 "bytes" 5 "testing" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 9 10 . "gopkg.in/check.v1" 11 )
··· 4 "bytes" 5 "testing" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/filemode" 9 10 . "gopkg.in/check.v1" 11 )
+3 -3
plumbing/format/gitattributes/dir.go
··· 4 "os" 5 "os/user" 6 7 - "gopkg.in/src-d/go-billy.v4" 8 - "gopkg.in/src-d/go-git.v4/plumbing/format/config" 9 - gioutil "gopkg.in/src-d/go-git.v4/utils/ioutil" 10 ) 11 12 const (
··· 4 "os" 5 "os/user" 6 7 + "github.com/go-git/go-billy/v5" 8 + "github.com/go-git/go-git/v5/plumbing/format/config" 9 + gioutil "github.com/go-git/go-git/v5/utils/ioutil" 10 ) 11 12 const (
+2 -2
plumbing/format/gitattributes/dir_test.go
··· 5 "os/user" 6 "strconv" 7 8 . "gopkg.in/check.v1" 9 - "gopkg.in/src-d/go-billy.v4" 10 - "gopkg.in/src-d/go-billy.v4/memfs" 11 ) 12 13 type MatcherSuite struct {
··· 5 "os/user" 6 "strconv" 7 8 + "github.com/go-git/go-billy/v5" 9 + "github.com/go-git/go-billy/v5/memfs" 10 . "gopkg.in/check.v1" 11 ) 12 13 type MatcherSuite struct {
+3 -3
plumbing/format/gitignore/dir.go
··· 7 "os/user" 8 "strings" 9 10 - "gopkg.in/src-d/go-billy.v4" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/config" 12 - gioutil "gopkg.in/src-d/go-git.v4/utils/ioutil" 13 ) 14 15 const (
··· 7 "os/user" 8 "strings" 9 10 + "github.com/go-git/go-billy/v5" 11 + "github.com/go-git/go-git/v5/plumbing/format/config" 12 + gioutil "github.com/go-git/go-git/v5/utils/ioutil" 13 ) 14 15 const (
+3 -3
plumbing/format/gitignore/dir_test.go
··· 5 "os/user" 6 "strconv" 7 8 . "gopkg.in/check.v1" 9 - "gopkg.in/src-d/go-billy.v4" 10 - "gopkg.in/src-d/go-billy.v4/memfs" 11 ) 12 13 type MatcherSuite struct { ··· 17 MEFS billy.Filesystem // root that contains user home, but missing excludesfile entry 18 MIFS billy.Filesystem // root that contains user home, but missing .gitnignore 19 20 - SFS billy.Filesystem // root that contains /etc/gitconfig 21 } 22 23 var _ = Suite(&MatcherSuite{})
··· 5 "os/user" 6 "strconv" 7 8 + "github.com/go-git/go-billy/v5" 9 + "github.com/go-git/go-billy/v5/memfs" 10 . "gopkg.in/check.v1" 11 ) 12 13 type MatcherSuite struct { ··· 17 MEFS billy.Filesystem // root that contains user home, but missing excludesfile entry 18 MIFS billy.Filesystem // root that contains user home, but missing .gitnignore 19 20 + SFS billy.Filesystem // root that contains /etc/gitconfig 21 } 22 23 var _ = Suite(&MatcherSuite{})
+1 -1
plumbing/format/idxfile/decoder.go
··· 6 "errors" 7 "io" 8 9 - "gopkg.in/src-d/go-git.v4/utils/binary" 10 ) 11 12 var (
··· 6 "errors" 7 "io" 8 9 + "github.com/go-git/go-git/v5/utils/binary" 10 ) 11 12 var (
+2 -2
plumbing/format/idxfile/decoder_test.go
··· 8 "io/ioutil" 9 "testing" 10 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - . "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 13 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3"
··· 8 "io/ioutil" 9 "testing" 10 11 + "github.com/go-git/go-git/v5/plumbing" 12 + . "github.com/go-git/go-git/v5/plumbing/format/idxfile" 13 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/format/idxfile/encoder.go
··· 5 "hash" 6 "io" 7 8 - "gopkg.in/src-d/go-git.v4/utils/binary" 9 ) 10 11 // Encoder writes MemoryIndex structs to an output stream.
··· 5 "hash" 6 "io" 7 8 + "github.com/go-git/go-git/v5/utils/binary" 9 ) 10 11 // Encoder writes MemoryIndex structs to an output stream.
+1 -1
plumbing/format/idxfile/encoder_test.go
··· 4 "bytes" 5 "io/ioutil" 6 7 - . "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 8 9 . "gopkg.in/check.v1" 10 "gopkg.in/src-d/go-git-fixtures.v3"
··· 4 "bytes" 5 "io/ioutil" 6 7 + . "github.com/go-git/go-git/v5/plumbing/format/idxfile" 8 9 . "gopkg.in/check.v1" 10 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/format/idxfile/idxfile.go
··· 7 8 encbin "encoding/binary" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 ) 12 13 const (
··· 7 8 encbin "encoding/binary" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 ) 12 13 const (
+2 -2
plumbing/format/idxfile/idxfile_test.go
··· 7 "io" 8 "testing" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 12 13 . "gopkg.in/check.v1" 14 "gopkg.in/src-d/go-git-fixtures.v3"
··· 7 "io" 8 "testing" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 12 13 . "gopkg.in/check.v1" 14 "gopkg.in/src-d/go-git-fixtures.v3"
+2 -2
plumbing/format/idxfile/writer.go
··· 7 "sort" 8 "sync" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/utils/binary" 12 ) 13 14 // objects implements sort.Interface and uses hash as sorting key.
··· 7 "sort" 8 "sync" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/utils/binary" 12 ) 13 14 // objects implements sort.Interface and uses hash as sorting key.
+3 -3
plumbing/format/idxfile/writer_test.go
··· 5 "encoding/base64" 6 "io/ioutil" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
··· 5 "encoding/base64" 6 "io/ioutil" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 10 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
+2 -2
plumbing/format/index/decoder.go
··· 11 "strconv" 12 "time" 13 14 - "gopkg.in/src-d/go-git.v4/plumbing" 15 - "gopkg.in/src-d/go-git.v4/utils/binary" 16 ) 17 18 var (
··· 11 "strconv" 12 "time" 13 14 + "github.com/go-git/go-git/v5/plumbing" 15 + "github.com/go-git/go-git/v5/utils/binary" 16 ) 17 18 var (
+2 -2
plumbing/format/index/decoder_test.go
··· 3 import ( 4 "testing" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 8 9 . "gopkg.in/check.v1" 10 "gopkg.in/src-d/go-git-fixtures.v3"
··· 3 import ( 4 "testing" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/filemode" 8 9 . "gopkg.in/check.v1" 10 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/format/index/encoder.go
··· 9 "sort" 10 "time" 11 12 - "gopkg.in/src-d/go-git.v4/utils/binary" 13 ) 14 15 var (
··· 9 "sort" 10 "time" 11 12 + "github.com/go-git/go-git/v5/utils/binary" 13 ) 14 15 var (
+1 -1
plumbing/format/index/encoder_test.go
··· 7 8 "github.com/google/go-cmp/cmp" 9 . "gopkg.in/check.v1" 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 ) 12 13 func (s *IndexSuite) TestEncode(c *C) {
··· 7 8 "github.com/google/go-cmp/cmp" 9 . "gopkg.in/check.v1" 10 + "github.com/go-git/go-git/v5/plumbing" 11 ) 12 13 func (s *IndexSuite) TestEncode(c *C) {
+2 -2
plumbing/format/index/index.go
··· 7 "path/filepath" 8 "time" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 12 ) 13 14 var (
··· 7 "path/filepath" 8 "time" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/filemode" 12 ) 13 14 var (
+1 -1
plumbing/format/objfile/common_test.go
··· 5 "testing" 6 7 . "gopkg.in/check.v1" 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 ) 10 11 type objfileFixture struct {
··· 5 "testing" 6 7 . "gopkg.in/check.v1" 8 + "github.com/go-git/go-git/v5/plumbing" 9 ) 10 11 type objfileFixture struct {
+2 -2
plumbing/format/objfile/reader.go
··· 6 "io" 7 "strconv" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 11 ) 12 13 var (
··· 6 "io" 7 "strconv" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 11 ) 12 13 var (
+1 -1
plumbing/format/objfile/reader_test.go
··· 8 "io/ioutil" 9 10 . "gopkg.in/check.v1" 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 ) 13 14 type SuiteReader struct{}
··· 8 "io/ioutil" 9 10 . "gopkg.in/check.v1" 11 + "github.com/go-git/go-git/v5/plumbing" 12 ) 13 14 type SuiteReader struct{}
+1 -1
plumbing/format/objfile/writer.go
··· 6 "io" 7 "strconv" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 ) 11 12 var (
··· 6 "io" 7 "strconv" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 ) 11 12 var (
+1 -1
plumbing/format/objfile/writer_test.go
··· 7 "io" 8 9 . "gopkg.in/check.v1" 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 ) 12 13 type SuiteWriter struct{}
··· 7 "io" 8 9 . "gopkg.in/check.v1" 10 + "github.com/go-git/go-git/v5/plumbing" 11 ) 12 13 type SuiteWriter struct{}
+2 -2
plumbing/format/packfile/common.go
··· 6 "io" 7 "sync" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 11 ) 12 13 var signature = []byte{'P', 'A', 'C', 'K'}
··· 6 "io" 7 "sync" 8 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 + "github.com/go-git/go-git/v5/utils/ioutil" 11 ) 12 13 var signature = []byte{'P', 'A', 'C', 'K'}
+2 -2
plumbing/format/packfile/common_test.go
··· 4 "bytes" 5 "testing" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/storage/memory" 9 10 . "gopkg.in/check.v1" 11 )
··· 4 "bytes" 5 "testing" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/storage/memory" 9 10 . "gopkg.in/check.v1" 11 )
+2 -2
plumbing/format/packfile/delta_selector.go
··· 4 "sort" 5 "sync" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 9 ) 10 11 const (
··· 4 "sort" 5 "sync" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/storer" 9 ) 10 11 const (
+2 -2
plumbing/format/packfile/delta_selector_test.go
··· 1 package packfile 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 - "gopkg.in/src-d/go-git.v4/storage/memory" 6 7 . "gopkg.in/check.v1" 8 )
··· 1 package packfile 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 + "github.com/go-git/go-git/v5/storage/memory" 6 7 . "gopkg.in/check.v1" 8 )
+1 -1
plumbing/format/packfile/diff_delta.go
··· 3 import ( 4 "bytes" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 ) 8 9 // See https://github.com/jelmer/dulwich/blob/master/dulwich/pack.py and
··· 3 import ( 4 "bytes" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 ) 8 9 // See https://github.com/jelmer/dulwich/blob/master/dulwich/pack.py and
+3 -3
plumbing/format/packfile/encoder.go
··· 6 "fmt" 7 "io" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 11 - "gopkg.in/src-d/go-git.v4/utils/binary" 12 ) 13 14 // Encoder gets the data from the storage and write it into the writer in PACK
··· 6 "fmt" 7 "io" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/storer" 11 + "github.com/go-git/go-git/v5/utils/binary" 12 ) 13 14 // Encoder gets the data from the storage and write it into the writer in PACK
+7 -7
plumbing/format/packfile/encoder_advanced_test.go
··· 6 "math/rand" 7 "testing" 8 9 - "gopkg.in/src-d/go-billy.v4/memfs" 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 13 - . "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 14 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 15 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 16 17 . "gopkg.in/check.v1" 18 "gopkg.in/src-d/go-git-fixtures.v3"
··· 6 "math/rand" 7 "testing" 8 9 + "github.com/go-git/go-billy/v5/memfs" 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/cache" 12 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 13 + . "github.com/go-git/go-git/v5/plumbing/format/packfile" 14 + "github.com/go-git/go-git/v5/plumbing/storer" 15 + "github.com/go-git/go-git/v5/storage/filesystem" 16 17 . "gopkg.in/check.v1" 18 "gopkg.in/src-d/go-git-fixtures.v3"
+4 -4
plumbing/format/packfile/encoder_test.go
··· 5 "io" 6 stdioutil "io/ioutil" 7 8 - "gopkg.in/src-d/go-billy.v4/memfs" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 11 - "gopkg.in/src-d/go-git.v4/storage/memory" 12 13 . "gopkg.in/check.v1" 14 "gopkg.in/src-d/go-git-fixtures.v3"
··· 5 "io" 6 stdioutil "io/ioutil" 7 8 + "github.com/go-git/go-billy/v5/memfs" 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 11 + "github.com/go-git/go-git/v5/storage/memory" 12 13 . "gopkg.in/check.v1" 14 "gopkg.in/src-d/go-git-fixtures.v3"
+4 -4
plumbing/format/packfile/fsobject.go
··· 3 import ( 4 "io" 5 6 - billy "gopkg.in/src-d/go-billy.v4" 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 10 ) 11 12 // FSObject is an object from the packfile on the filesystem.
··· 3 import ( 4 "io" 5 6 + billy "github.com/go-git/go-billy/v5" 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/cache" 9 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 10 ) 11 12 // FSObject is an object from the packfile on the filesystem.
+1 -1
plumbing/format/packfile/object_pack.go
··· 1 package packfile 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 ) 6 7 // ObjectToPack is a representation of an object that is going to be into a
··· 1 package packfile 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 ) 6 7 // ObjectToPack is a representation of an object that is going to be into a
+1 -1
plumbing/format/packfile/object_pack_test.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 8 . "gopkg.in/check.v1" 9 )
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 8 . "gopkg.in/check.v1" 9 )
+5 -5
plumbing/format/packfile/packfile.go
··· 5 "io" 6 "os" 7 8 - billy "gopkg.in/src-d/go-billy.v4" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 12 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 13 ) 14 15 var (
··· 5 "io" 6 "os" 7 8 + billy "github.com/go-git/go-billy/v5" 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/cache" 11 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 12 + "github.com/go-git/go-git/v5/plumbing/storer" 13 ) 14 15 var (
+5 -5
plumbing/format/packfile/packfile_test.go
··· 4 "io" 5 "math" 6 7 . "gopkg.in/check.v1" 8 - "gopkg.in/src-d/go-billy.v4/osfs" 9 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 13 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 14 ) 15 16 type PackfileSuite struct {
··· 4 "io" 5 "math" 6 7 + "github.com/go-git/go-billy/v5/osfs" 8 . "gopkg.in/check.v1" 9 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 12 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 13 + "github.com/go-git/go-git/v5/plumbing/storer" 14 ) 15 16 type PackfileSuite struct {
+3 -3
plumbing/format/packfile/parser.go
··· 6 "io" 7 "io/ioutil" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 11 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 12 ) 13 14 var (
··· 6 "io" 7 "io/ioutil" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/cache" 11 + "github.com/go-git/go-git/v5/plumbing/storer" 12 ) 13 14 var (
+4 -4
plumbing/format/packfile/parser_test.go
··· 4 "io" 5 "testing" 6 7 - git "gopkg.in/src-d/go-git.v4" 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 10 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
··· 4 "io" 5 "testing" 6 7 + git "github.com/go-git/go-git/v5" 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 10 + "github.com/go-git/go-git/v5/plumbing/storer" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/format/packfile/patch_delta.go
··· 5 "errors" 6 "io" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 ) 10 11 // See https://github.com/git/git/blob/49fa3dc76179e04b0833542fa52d0f287a4955ac/delta.h
··· 5 "errors" 6 "io" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 ) 10 11 // See https://github.com/git/git/blob/49fa3dc76179e04b0833542fa52d0f287a4955ac/delta.h
+3 -3
plumbing/format/packfile/scanner.go
··· 11 stdioutil "io/ioutil" 12 "sync" 13 14 - "gopkg.in/src-d/go-git.v4/plumbing" 15 - "gopkg.in/src-d/go-git.v4/utils/binary" 16 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 17 ) 18 19 var (
··· 11 stdioutil "io/ioutil" 12 "sync" 13 14 + "github.com/go-git/go-git/v5/plumbing" 15 + "github.com/go-git/go-git/v5/utils/binary" 16 + "github.com/go-git/go-git/v5/utils/ioutil" 17 ) 18 19 var (
+1 -1
plumbing/format/packfile/scanner_test.go
··· 4 "bytes" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 9 . "gopkg.in/check.v1" 10 "gopkg.in/src-d/go-git-fixtures.v3"
··· 4 "bytes" 5 "io" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 9 . "gopkg.in/check.v1" 10 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/format/pktline/encoder_test.go
··· 6 "strings" 7 "testing" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 10 11 . "gopkg.in/check.v1" 12 )
··· 6 "strings" 7 "testing" 8 9 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 10 11 . "gopkg.in/check.v1" 12 )
+1 -1
plumbing/format/pktline/scanner_test.go
··· 7 "io" 8 "strings" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 11 12 . "gopkg.in/check.v1" 13 )
··· 7 "io" 8 "strings" 9 10 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 11 12 . "gopkg.in/check.v1" 13 )
+3 -3
plumbing/object/blob.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 8 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 9 ) 10 11 // Blob is used to store arbitrary data - it is generally a file.
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/storer" 8 + "github.com/go-git/go-git/v5/utils/ioutil" 9 ) 10 11 // Blob is used to store arbitrary data - it is generally a file.
+1 -1
plumbing/object/blob_test.go
··· 5 "io" 6 "io/ioutil" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 10 . "gopkg.in/check.v1" 11 )
··· 5 "io" 6 "io/ioutil" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 10 . "gopkg.in/check.v1" 11 )
+1 -1
plumbing/object/change.go
··· 6 "fmt" 7 "strings" 8 9 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 10 ) 11 12 // Change values represent a detected change between two git trees. For
··· 6 "fmt" 7 "strings" 8 9 + "github.com/go-git/go-git/v5/utils/merkletrie" 10 ) 11 12 // Change values represent a detected change between two git trees. For
+2 -2
plumbing/object/change_adaptor.go
··· 4 "errors" 5 "fmt" 6 7 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 9 ) 10 11 // The following functions transform changes types form the merkletrie
··· 4 "errors" 5 "fmt" 6 7 + "github.com/go-git/go-git/v5/utils/merkletrie" 8 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 9 ) 10 11 // The following functions transform changes types form the merkletrie
+7 -7
plumbing/object/change_adaptor_test.go
··· 3 import ( 4 "sort" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 8 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 11 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 12 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 13 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3"
··· 3 import ( 4 "sort" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/cache" 8 + "github.com/go-git/go-git/v5/plumbing/filemode" 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 + "github.com/go-git/go-git/v5/storage/filesystem" 11 + "github.com/go-git/go-git/v5/utils/merkletrie" 12 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 13 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3"
+7 -7
plumbing/object/change_test.go
··· 4 "context" 5 "sort" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 9 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/diff" 11 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 12 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 13 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 14 15 . "gopkg.in/check.v1" 16 "gopkg.in/src-d/go-git-fixtures.v3"
··· 4 "context" 5 "sort" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/cache" 9 + "github.com/go-git/go-git/v5/plumbing/filemode" 10 + "github.com/go-git/go-git/v5/plumbing/format/diff" 11 + "github.com/go-git/go-git/v5/plumbing/storer" 12 + "github.com/go-git/go-git/v5/storage/filesystem" 13 + "github.com/go-git/go-git/v5/utils/merkletrie" 14 15 . "gopkg.in/check.v1" 16 "gopkg.in/src-d/go-git-fixtures.v3"
+3 -3
plumbing/object/commit.go
··· 11 12 "golang.org/x/crypto/openpgp" 13 14 - "gopkg.in/src-d/go-git.v4/plumbing" 15 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 16 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 17 ) 18 19 const (
··· 11 12 "golang.org/x/crypto/openpgp" 13 14 + "github.com/go-git/go-git/v5/plumbing" 15 + "github.com/go-git/go-git/v5/plumbing/storer" 16 + "github.com/go-git/go-git/v5/utils/ioutil" 17 ) 18 19 const (
+6 -6
plumbing/object/commit_stats_test.go
··· 4 "context" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4" 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/object" 10 - "gopkg.in/src-d/go-git.v4/storage/memory" 11 12 . "gopkg.in/check.v1" 13 - "gopkg.in/src-d/go-billy.v4/memfs" 14 - "gopkg.in/src-d/go-billy.v4/util" 15 "gopkg.in/src-d/go-git-fixtures.v3" 16 ) 17
··· 4 "context" 5 "time" 6 7 + "github.com/go-git/go-git/v5" 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/object" 10 + "github.com/go-git/go-git/v5/storage/memory" 11 12 + "github.com/go-git/go-billy/v5/memfs" 13 + "github.com/go-git/go-billy/v5/util" 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3" 16 ) 17
+3 -3
plumbing/object/commit_test.go
··· 9 "time" 10 11 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 12 - "gopkg.in/src-d/go-git.v4/plumbing" 13 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 14 15 . "gopkg.in/check.v1" 16 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 17 ) 18 19 type SuiteCommit struct {
··· 9 "time" 10 11 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 12 + "github.com/go-git/go-git/v5/plumbing" 13 + "github.com/go-git/go-git/v5/plumbing/cache" 14 15 . "gopkg.in/check.v1" 16 + "github.com/go-git/go-git/v5/storage/filesystem" 17 ) 18 19 type SuiteCommit struct {
+3 -3
plumbing/object/commit_walker.go
··· 4 "container/list" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 9 - "gopkg.in/src-d/go-git.v4/storage" 10 ) 11 12 type commitPreIterator struct {
··· 4 "container/list" 5 "io" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/storer" 9 + "github.com/go-git/go-git/v5/storage" 10 ) 11 12 type commitPreIterator struct {
+2 -2
plumbing/object/commit_walker_bfs.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 8 ) 9 10 type bfsCommitIterator struct {
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/storer" 8 ) 9 10 type bfsCommitIterator struct {
+2 -2
plumbing/object/commit_walker_bfs_filtered.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 8 ) 9 10 // NewFilterCommitIter returns a CommitIter that walks the commit history,
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/storer" 8 ) 9 10 // NewFilterCommitIter returns a CommitIter that walks the commit history,
+2 -2
plumbing/object/commit_walker_bfs_filtered_test.go
··· 4 "fmt" 5 "strings" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 9 10 . "gopkg.in/check.v1" 11 )
··· 4 "fmt" 5 "strings" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/storer" 9 10 . "gopkg.in/check.v1" 11 )
+2 -2
plumbing/object/commit_walker_ctime.go
··· 5 6 "github.com/emirpasic/gods/trees/binaryheap" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 ) 11 12 type commitIteratorByCTime struct {
··· 5 6 "github.com/emirpasic/gods/trees/binaryheap" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 ) 11 12 type commitIteratorByCTime struct {
+1 -1
plumbing/object/commit_walker_limit.go
··· 4 "io" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 8 ) 9 10 type commitLimitIter struct {
··· 4 "io" 5 "time" 6 7 + "github.com/go-git/go-git/v5/plumbing/storer" 8 ) 9 10 type commitLimitIter struct {
+2 -2
plumbing/object/commit_walker_path.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 9 ) 10 11 type commitPathIter struct {
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 8 + "github.com/go-git/go-git/v5/plumbing/storer" 9 ) 10 11 type commitPathIter struct {
+1 -1
plumbing/object/commit_walker_test.go
··· 1 package object 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 6 . "gopkg.in/check.v1" 7 )
··· 1 package object 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 6 . "gopkg.in/check.v1" 7 )
+3 -3
plumbing/object/commitgraph/commitnode.go
··· 4 "io" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/object" 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 ) 11 12 // CommitNode is generic interface encapsulating a lightweight commit object retrieved
··· 4 "io" 5 "time" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/object" 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 ) 11 12 // CommitNode is generic interface encapsulating a lightweight commit object retrieved
+4 -4
plumbing/object/commitgraph/commitnode_graph.go
··· 4 "fmt" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/format/commitgraph" 9 - "gopkg.in/src-d/go-git.v4/plumbing/object" 10 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 11 ) 12 13 // graphCommitNode is a reduced representation of Commit as presented in the commit
··· 4 "fmt" 5 "time" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/format/commitgraph" 9 + "github.com/go-git/go-git/v5/plumbing/object" 10 + "github.com/go-git/go-git/v5/plumbing/storer" 11 ) 12 13 // graphCommitNode is a reduced representation of Commit as presented in the commit
+3 -3
plumbing/object/commitgraph/commitnode_object.go
··· 4 "math" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/object" 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 ) 11 12 // objectCommitNode is a representation of Commit as presented in the GIT object format.
··· 4 "math" 5 "time" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/object" 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 ) 11 12 // objectCommitNode is a representation of Commit as presented in the GIT object format.
+5 -5
plumbing/object/commitgraph/commitnode_test.go
··· 6 7 . "gopkg.in/check.v1" 8 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/commitgraph" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 13 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 14 ) 15 16 func Test(t *testing.T) { TestingT(t) }
··· 6 7 . "gopkg.in/check.v1" 8 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/cache" 11 + "github.com/go-git/go-git/v5/plumbing/format/commitgraph" 12 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 13 + "github.com/go-git/go-git/v5/storage/filesystem" 14 ) 15 16 func Test(t *testing.T) { TestingT(t) }
+2 -2
plumbing/object/commitgraph/commitnode_walker_ctime.go
··· 5 6 "github.com/emirpasic/gods/trees/binaryheap" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 ) 11 12 type commitNodeIteratorByCTime struct {
··· 5 6 "github.com/emirpasic/gods/trees/binaryheap" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 ) 11 12 type commitNodeIteratorByCTime struct {
+2 -2
plumbing/object/difftree.go
··· 4 "bytes" 5 "context" 6 7 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 9 ) 10 11 // DiffTree compares the content and mode of the blobs found via two
··· 4 "bytes" 5 "context" 6 7 + "github.com/go-git/go-git/v5/utils/merkletrie" 8 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 9 ) 10 11 // DiffTree compares the content and mode of the blobs found via two
+8 -8
plumbing/object/difftree_test.go
··· 3 import ( 4 "sort" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 8 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 10 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 11 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 12 - "gopkg.in/src-d/go-git.v4/storage/memory" 13 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 14 15 . "gopkg.in/check.v1" 16 "gopkg.in/src-d/go-git-fixtures.v3"
··· 3 import ( 4 "sort" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/cache" 8 + "github.com/go-git/go-git/v5/plumbing/filemode" 9 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 10 + "github.com/go-git/go-git/v5/plumbing/storer" 11 + "github.com/go-git/go-git/v5/storage/filesystem" 12 + "github.com/go-git/go-git/v5/storage/memory" 13 + "github.com/go-git/go-git/v5/utils/merkletrie" 14 15 . "gopkg.in/check.v1" 16 "gopkg.in/src-d/go-git-fixtures.v3"
+4 -4
plumbing/object/file.go
··· 5 "io" 6 "strings" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 - "gopkg.in/src-d/go-git.v4/utils/binary" 11 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 12 ) 13 14 // File represents git file objects.
··· 5 "io" 6 "strings" 7 8 + "github.com/go-git/go-git/v5/plumbing/filemode" 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 + "github.com/go-git/go-git/v5/utils/binary" 11 + "github.com/go-git/go-git/v5/utils/ioutil" 12 ) 13 14 // File represents git file objects.
+5 -5
plumbing/object/file_test.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 8 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/cache" 8 + "github.com/go-git/go-git/v5/plumbing/filemode" 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 + "github.com/go-git/go-git/v5/storage/filesystem" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
+2 -2
plumbing/object/merge_base.go
··· 4 "fmt" 5 "sort" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 9 ) 10 11 // errIsReachable is thrown when first commit is an ancestor of the second
··· 4 "fmt" 5 "sort" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/storer" 9 ) 10 11 // errIsReachable is thrown when first commit is an ancestor of the second
+3 -3
plumbing/object/merge_base_test.go
··· 4 "fmt" 5 "sort" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 9 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 10 11 . "gopkg.in/check.v1" 12 fixtures "gopkg.in/src-d/go-git-fixtures.v3"
··· 4 "fmt" 5 "sort" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/cache" 9 + "github.com/go-git/go-git/v5/storage/filesystem" 10 11 . "gopkg.in/check.v1" 12 fixtures "gopkg.in/src-d/go-git-fixtures.v3"
+2 -2
plumbing/object/object.go
··· 10 "strconv" 11 "time" 12 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 15 ) 16 17 // ErrUnsupportedObject trigger when a non-supported object is being decoded.
··· 10 "strconv" 11 "time" 12 13 + "github.com/go-git/go-git/v5/plumbing" 14 + "github.com/go-git/go-git/v5/plumbing/storer" 15 ) 16 17 // ErrUnsupportedObject trigger when a non-supported object is being decoded.
+5 -5
plumbing/object/object_test.go
··· 6 "testing" 7 "time" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 11 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 12 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 13 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 14 15 . "gopkg.in/check.v1" 16 "gopkg.in/src-d/go-git-fixtures.v3"
··· 6 "testing" 7 "time" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/cache" 11 + "github.com/go-git/go-git/v5/plumbing/filemode" 12 + "github.com/go-git/go-git/v5/plumbing/storer" 13 + "github.com/go-git/go-git/v5/storage/filesystem" 14 15 . "gopkg.in/check.v1" 16 "gopkg.in/src-d/go-git-fixtures.v3"
+4 -4
plumbing/object/patch.go
··· 9 "math" 10 "strings" 11 12 - "gopkg.in/src-d/go-git.v4/plumbing" 13 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 14 - fdiff "gopkg.in/src-d/go-git.v4/plumbing/format/diff" 15 - "gopkg.in/src-d/go-git.v4/utils/diff" 16 17 dmp "github.com/sergi/go-diff/diffmatchpatch" 18 )
··· 9 "math" 10 "strings" 11 12 + "github.com/go-git/go-git/v5/plumbing" 13 + "github.com/go-git/go-git/v5/plumbing/filemode" 14 + fdiff "github.com/go-git/go-git/v5/plumbing/format/diff" 15 + "github.com/go-git/go-git/v5/utils/diff" 16 17 dmp "github.com/sergi/go-diff/diffmatchpatch" 18 )
+3 -3
plumbing/object/patch_test.go
··· 3 import ( 4 . "gopkg.in/check.v1" 5 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 8 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 9 ) 10 11 type PatchSuite struct {
··· 3 import ( 4 . "gopkg.in/check.v1" 5 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/cache" 8 + "github.com/go-git/go-git/v5/storage/filesystem" 9 ) 10 11 type PatchSuite struct {
+3 -3
plumbing/object/tag.go
··· 10 11 "golang.org/x/crypto/openpgp" 12 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 15 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 16 ) 17 18 // Tag represents an annotated tag object. It points to a single git object of
··· 10 11 "golang.org/x/crypto/openpgp" 12 13 + "github.com/go-git/go-git/v5/plumbing" 14 + "github.com/go-git/go-git/v5/plumbing/storer" 15 + "github.com/go-git/go-git/v5/utils/ioutil" 16 ) 17 18 // Tag represents an annotated tag object. It points to a single git object of
+4 -4
plumbing/object/tag_test.go
··· 8 "time" 9 10 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 13 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 14 - "gopkg.in/src-d/go-git.v4/storage/memory" 15 16 . "gopkg.in/check.v1" 17 )
··· 8 "time" 9 10 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/cache" 13 + "github.com/go-git/go-git/v5/storage/filesystem" 14 + "github.com/go-git/go-git/v5/storage/memory" 15 16 . "gopkg.in/check.v1" 17 )
+4 -4
plumbing/object/tree.go
··· 10 "path/filepath" 11 "strings" 12 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 15 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 16 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 17 ) 18 19 const (
··· 10 "path/filepath" 11 "strings" 12 13 + "github.com/go-git/go-git/v5/plumbing" 14 + "github.com/go-git/go-git/v5/plumbing/filemode" 15 + "github.com/go-git/go-git/v5/plumbing/storer" 16 + "github.com/go-git/go-git/v5/utils/ioutil" 17 ) 18 19 const (
+5 -5
plumbing/object/tree_test.go
··· 4 "errors" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 9 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 10 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 11 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 12 13 . "gopkg.in/check.v1" 14 "gopkg.in/src-d/go-git-fixtures.v3"
··· 4 "errors" 5 "io" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/cache" 9 + "github.com/go-git/go-git/v5/plumbing/filemode" 10 + "github.com/go-git/go-git/v5/plumbing/storer" 11 + "github.com/go-git/go-git/v5/storage/filesystem" 12 13 . "gopkg.in/check.v1" 14 "gopkg.in/src-d/go-git-fixtures.v3"
+3 -3
plumbing/object/treenoder.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 9 ) 10 11 // A treenoder is a helper type that wraps git trees into merkletrie
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/filemode" 8 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 9 ) 10 11 // A treenoder is a helper type that wraps git trees into merkletrie
+4 -4
plumbing/protocol/packp/advrefs.go
··· 5 "sort" 6 "strings" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 10 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 11 - "gopkg.in/src-d/go-git.v4/storage/memory" 12 ) 13 14 // AdvRefs values represent the information transmitted on an
··· 5 "sort" 6 "strings" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 10 + "github.com/go-git/go-git/v5/plumbing/storer" 11 + "github.com/go-git/go-git/v5/storage/memory" 12 ) 13 14 // AdvRefs values represent the information transmitted on an
+2 -2
plumbing/protocol/packp/advrefs_decode.go
··· 7 "fmt" 8 "io" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 12 ) 13 14 // Decode reads the next advertised-refs message form its input and
··· 7 "fmt" 8 "io" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 12 ) 13 14 // Decode reads the next advertised-refs message form its input and
+3 -3
plumbing/protocol/packp/advrefs_decode_test.go
··· 5 "io" 6 "strings" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 10 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 11 12 . "gopkg.in/check.v1" 13 )
··· 5 "io" 6 "strings" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 10 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 11 12 . "gopkg.in/check.v1" 13 )
+3 -3
plumbing/protocol/packp/advrefs_encode.go
··· 6 "io" 7 "sort" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 11 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 12 ) 13 14 // Encode writes the AdvRefs encoding to a writer.
··· 6 "io" 7 "sort" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 11 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 12 ) 13 14 // Encode writes the AdvRefs encoding to a writer.
+3 -3
plumbing/protocol/packp/advrefs_encode_test.go
··· 4 "bytes" 5 "strings" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 9 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 10 11 . "gopkg.in/check.v1" 12 )
··· 4 "bytes" 5 "strings" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 9 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 10 11 . "gopkg.in/check.v1" 12 )
+3 -3
plumbing/protocol/packp/advrefs_test.go
··· 6 "io" 7 "strings" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 11 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 12 13 . "gopkg.in/check.v1" 14 )
··· 6 "io" 7 "strings" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 11 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 12 13 . "gopkg.in/check.v1" 14 )
+1 -1
plumbing/protocol/packp/common_test.go
··· 5 "io" 6 "testing" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 9 10 . "gopkg.in/check.v1" 11 )
··· 5 "io" 6 "testing" 7 8 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 9 10 . "gopkg.in/check.v1" 11 )
+2 -2
plumbing/protocol/packp/report_status.go
··· 6 "io" 7 "strings" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 11 ) 12 13 const (
··· 6 "io" 7 "strings" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 11 ) 12 13 const (
+2 -2
plumbing/protocol/packp/report_status_test.go
··· 3 import ( 4 "bytes" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 8 9 . "gopkg.in/check.v1" 10 )
··· 3 import ( 4 "bytes" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 8 9 . "gopkg.in/check.v1" 10 )
+2 -2
plumbing/protocol/packp/shallowupd.go
··· 5 "fmt" 6 "io" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 10 ) 11 12 const (
··· 5 "fmt" 6 "io" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 10 ) 11 12 const (
+1 -1
plumbing/protocol/packp/shallowupd_test.go
··· 3 import ( 4 "bytes" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 8 . "gopkg.in/check.v1" 9 )
··· 3 import ( 4 "bytes" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 8 . "gopkg.in/check.v1" 9 )
+1 -1
plumbing/protocol/packp/sideband/demux.go
··· 5 "fmt" 6 "io" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 9 ) 10 11 // ErrMaxPackedExceeded returned by Read, if the maximum packed size is exceeded
··· 5 "fmt" 6 "io" 7 8 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 9 ) 10 11 // ErrMaxPackedExceeded returned by Read, if the maximum packed size is exceeded
+1 -1
plumbing/protocol/packp/sideband/demux_test.go
··· 7 "io/ioutil" 8 "testing" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 11 12 . "gopkg.in/check.v1" 13 )
··· 7 "io/ioutil" 8 "testing" 9 10 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 11 12 . "gopkg.in/check.v1" 13 )
+1 -1
plumbing/protocol/packp/sideband/muxer.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 7 ) 8 9 // Muxer multiplex the packfile along with the progress messages and the error
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 7 ) 8 9 // Muxer multiplex the packfile along with the progress messages and the error
+2 -2
plumbing/protocol/packp/srvresp.go
··· 7 "fmt" 8 "io" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 12 ) 13 14 const ackLineLen = 44
··· 7 "fmt" 8 "io" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 12 ) 13 14 const ackLineLen = 44
+1 -1
plumbing/protocol/packp/srvresp_test.go
··· 4 "bufio" 5 "bytes" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 9 . "gopkg.in/check.v1" 10 )
··· 4 "bufio" 5 "bytes" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 9 . "gopkg.in/check.v1" 10 )
+2 -2
plumbing/protocol/packp/ulreq.go
··· 4 "fmt" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 9 ) 10 11 // UploadRequest values represent the information transmitted on a
··· 4 "fmt" 5 "time" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 9 ) 10 11 // UploadRequest values represent the information transmitted on a
+2 -2
plumbing/protocol/packp/ulreq_decode.go
··· 8 "strconv" 9 "time" 10 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 13 ) 14 15 // Decode reads the next upload-request form its input and
··· 8 "strconv" 9 "time" 10 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 13 ) 14 15 // Decode reads the next upload-request form its input and
+3 -3
plumbing/protocol/packp/ulreq_decode_test.go
··· 6 "sort" 7 "time" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 11 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 12 13 . "gopkg.in/check.v1" 14 )
··· 6 "sort" 7 "time" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 11 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 12 13 . "gopkg.in/check.v1" 14 )
+2 -2
plumbing/protocol/packp/ulreq_encode.go
··· 6 "io" 7 "time" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 11 ) 12 13 // Encode writes the UlReq encoding of u to the stream.
··· 6 "io" 7 "time" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 11 ) 12 13 // Encode writes the UlReq encoding of u to the stream.
+3 -3
plumbing/protocol/packp/ulreq_encode_test.go
··· 4 "bytes" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 9 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 10 11 . "gopkg.in/check.v1" 12 )
··· 4 "bytes" 5 "time" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 9 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 10 11 . "gopkg.in/check.v1" 12 )
+3 -3
plumbing/protocol/packp/ulreq_test.go
··· 6 "strings" 7 "time" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 11 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 12 13 . "gopkg.in/check.v1" 14 )
··· 6 "strings" 7 "time" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 11 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 12 13 . "gopkg.in/check.v1" 14 )
+3 -3
plumbing/protocol/packp/updreq.go
··· 4 "errors" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 9 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" 10 ) 11 12 var (
··· 4 "errors" 5 "io" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 9 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband" 10 ) 11 12 var (
+2 -2
plumbing/protocol/packp/updreq_decode.go
··· 8 "io" 9 "io/ioutil" 10 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 13 ) 14 15 var (
··· 8 "io" 9 "io/ioutil" 10 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 13 ) 14 15 var (
+2 -2
plumbing/protocol/packp/updreq_decode_test.go
··· 5 "io" 6 "io/ioutil" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 10 11 . "gopkg.in/check.v1" 12 )
··· 5 "io" 6 "io/ioutil" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 10 11 . "gopkg.in/check.v1" 12 )
+3 -3
plumbing/protocol/packp/updreq_encode.go
··· 4 "fmt" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 9 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 10 ) 11 12 var (
··· 4 "fmt" 5 "io" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 9 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 10 ) 11 12 var (
+2 -2
plumbing/protocol/packp/updreq_encode_test.go
··· 3 import ( 4 "bytes" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 8 9 . "gopkg.in/check.v1" 10 "io/ioutil"
··· 3 import ( 4 "bytes" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 8 9 . "gopkg.in/check.v1" 10 "io/ioutil"
+1 -1
plumbing/protocol/packp/updreq_test.go
··· 1 package packp 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 5 6 . "gopkg.in/check.v1" 7 )
··· 1 package packp 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 5 6 . "gopkg.in/check.v1" 7 )
+3 -3
plumbing/protocol/packp/uppackreq.go
··· 5 "fmt" 6 "io" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 10 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 11 ) 12 13 // UploadPackRequest represents a upload-pack request.
··· 5 "fmt" 6 "io" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 10 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 11 ) 12 13 // UploadPackRequest represents a upload-pack request.
+2 -2
plumbing/protocol/packp/uppackreq_test.go
··· 3 import ( 4 "bytes" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 8 9 . "gopkg.in/check.v1" 10 )
··· 3 import ( 4 "bytes" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 8 9 . "gopkg.in/check.v1" 10 )
+2 -2
plumbing/protocol/packp/uppackresp.go
··· 6 7 "bufio" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 10 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 11 ) 12 13 // ErrUploadPackResponseNotDecoded is returned if Read is called without
··· 6 7 "bufio" 8 9 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 10 + "github.com/go-git/go-git/v5/utils/ioutil" 11 ) 12 13 // ErrUploadPackResponseNotDecoded is returned if Read is called without
+2 -2
plumbing/protocol/packp/uppackresp_test.go
··· 4 "bytes" 5 "io/ioutil" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 8 9 . "gopkg.in/check.v1" 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 ) 12 13 type UploadPackResponseSuite struct{}
··· 4 "bytes" 5 "io/ioutil" 6 7 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 8 9 . "gopkg.in/check.v1" 10 + "github.com/go-git/go-git/v5/plumbing" 11 ) 12 13 type UploadPackResponseSuite struct{}
+4 -4
plumbing/revlist/revlist.go
··· 6 "fmt" 7 "io" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 11 - "gopkg.in/src-d/go-git.v4/plumbing/object" 12 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 13 ) 14 15 // Objects applies a complementary set. It gets all the hashes from all
··· 6 "fmt" 7 "io" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/filemode" 11 + "github.com/go-git/go-git/v5/plumbing/object" 12 + "github.com/go-git/go-git/v5/plumbing/storer" 13 ) 14 15 // Objects applies a complementary set. It gets all the hashes from all
+5 -5
plumbing/revlist/revlist_test.go
··· 3 import ( 4 "testing" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 8 - "gopkg.in/src-d/go-git.v4/plumbing/object" 9 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 10 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
··· 3 import ( 4 "testing" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/cache" 8 + "github.com/go-git/go-git/v5/plumbing/object" 9 + "github.com/go-git/go-git/v5/plumbing/storer" 10 + "github.com/go-git/go-git/v5/storage/filesystem" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/storer/index.go
··· 1 package storer 2 3 - import "gopkg.in/src-d/go-git.v4/plumbing/format/index" 4 5 // IndexStorer generic storage of index.Index 6 type IndexStorer interface {
··· 1 package storer 2 3 + import "github.com/go-git/go-git/v5/plumbing/format/index" 4 5 // IndexStorer generic storage of index.Index 6 type IndexStorer interface {
+1 -1
plumbing/storer/object.go
··· 5 "io" 6 "time" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 ) 10 11 var (
··· 5 "io" 6 "time" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 ) 10 11 var (
+1 -1
plumbing/storer/object_test.go
··· 5 "testing" 6 7 . "gopkg.in/check.v1" 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 ) 10 11 func Test(t *testing.T) { TestingT(t) }
··· 5 "testing" 6 7 . "gopkg.in/check.v1" 8 + "github.com/go-git/go-git/v5/plumbing" 9 ) 10 11 func Test(t *testing.T) { TestingT(t) }
+1 -1
plumbing/storer/reference.go
··· 4 "errors" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 ) 9 10 const MaxResolveRecursion = 1024
··· 4 "errors" 5 "io" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 ) 9 10 const MaxResolveRecursion = 1024
+1 -1
plumbing/storer/reference_test.go
··· 5 "io" 6 7 . "gopkg.in/check.v1" 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 ) 10 11 type ReferenceSuite struct{}
··· 5 "io" 6 7 . "gopkg.in/check.v1" 8 + "github.com/go-git/go-git/v5/plumbing" 9 ) 10 11 type ReferenceSuite struct{}
+1 -1
plumbing/storer/shallow.go
··· 1 package storer 2 3 - import "gopkg.in/src-d/go-git.v4/plumbing" 4 5 // ShallowStorer is a storage of references to shallow commits by hash, 6 // meaning that these commits have missing parents because of a shallow fetch.
··· 1 package storer 2 3 + import "github.com/go-git/go-git/v5/plumbing" 4 5 // ShallowStorer is a storage of references to shallow commits by hash, 6 // meaning that these commits have missing parents because of a shallow fetch.
+5 -5
plumbing/transport/client/client.go
··· 5 import ( 6 "fmt" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 9 - "gopkg.in/src-d/go-git.v4/plumbing/transport/file" 10 - "gopkg.in/src-d/go-git.v4/plumbing/transport/git" 11 - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" 12 - "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" 13 ) 14 15 // Protocols are the protocols supported by default.
··· 5 import ( 6 "fmt" 7 8 + "github.com/go-git/go-git/v5/plumbing/transport" 9 + "github.com/go-git/go-git/v5/plumbing/transport/file" 10 + "github.com/go-git/go-git/v5/plumbing/transport/git" 11 + "github.com/go-git/go-git/v5/plumbing/transport/http" 12 + "github.com/go-git/go-git/v5/plumbing/transport/ssh" 13 ) 14 15 // Protocols are the protocols supported by default.
+1 -1
plumbing/transport/client/client_test.go
··· 5 "net/http" 6 "testing" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 9 10 . "gopkg.in/check.v1" 11 )
··· 5 "net/http" 6 "testing" 7 8 + "github.com/go-git/go-git/v5/plumbing/transport" 9 10 . "gopkg.in/check.v1" 11 )
+2 -2
plumbing/transport/client/example_test.go
··· 4 "crypto/tls" 5 "net/http" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/transport/client" 8 - githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http" 9 ) 10 11 func ExampleInstallProtocol() {
··· 4 "crypto/tls" 5 "net/http" 6 7 + "github.com/go-git/go-git/v5/plumbing/transport/client" 8 + githttp "github.com/go-git/go-git/v5/plumbing/transport/http" 9 ) 10 11 func ExampleInstallProtocol() {
+4 -4
plumbing/transport/common.go
··· 22 "strconv" 23 "strings" 24 25 - giturl "gopkg.in/src-d/go-git.v4/internal/url" 26 - "gopkg.in/src-d/go-git.v4/plumbing" 27 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 28 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 29 ) 30 31 var (
··· 22 "strconv" 23 "strings" 24 25 + giturl "github.com/go-git/go-git/v5/internal/url" 26 + "github.com/go-git/go-git/v5/plumbing" 27 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 28 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 29 ) 30 31 var (
+1 -1
plumbing/transport/common_test.go
··· 5 "net/url" 6 "testing" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 9 10 . "gopkg.in/check.v1" 11 )
··· 5 "net/url" 6 "testing" 7 8 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 9 10 . "gopkg.in/check.v1" 11 )
+2 -2
plumbing/transport/file/client.go
··· 10 "path/filepath" 11 "strings" 12 13 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 14 - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" 15 ) 16 17 // DefaultClient is the default local client.
··· 10 "path/filepath" 11 "strings" 12 13 + "github.com/go-git/go-git/v5/plumbing/transport" 14 + "github.com/go-git/go-git/v5/plumbing/transport/internal/common" 15 ) 16 17 // DefaultClient is the default local client.
+1 -1
plumbing/transport/file/client_test.go
··· 7 "strings" 8 "testing" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 11 12 . "gopkg.in/check.v1" 13 )
··· 7 "strings" 8 "testing" 9 10 + "github.com/go-git/go-git/v5/plumbing/transport" 11 12 . "gopkg.in/check.v1" 13 )
+1 -1
plumbing/transport/file/receive_pack_test.go
··· 3 import ( 4 "os" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" 7 8 . "gopkg.in/check.v1" 9 "gopkg.in/src-d/go-git-fixtures.v3"
··· 3 import ( 4 "os" 5 6 + "github.com/go-git/go-git/v5/plumbing/transport/test" 7 8 . "gopkg.in/check.v1" 9 "gopkg.in/src-d/go-git-fixtures.v3"
+4 -4
plumbing/transport/file/server.go
··· 4 "fmt" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 8 - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" 9 - "gopkg.in/src-d/go-git.v4/plumbing/transport/server" 10 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 11 ) 12 13 // ServeUploadPack serves a git-upload-pack request using standard output, input
··· 4 "fmt" 5 "os" 6 7 + "github.com/go-git/go-git/v5/plumbing/transport" 8 + "github.com/go-git/go-git/v5/plumbing/transport/internal/common" 9 + "github.com/go-git/go-git/v5/plumbing/transport/server" 10 + "github.com/go-git/go-git/v5/utils/ioutil" 11 ) 12 13 // ServeUploadPack serves a git-upload-pack request using standard output, input
+2 -2
plumbing/transport/file/upload_pack_test.go
··· 4 "os" 5 "path/filepath" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 8 - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" 9 10 . "gopkg.in/check.v1" 11 "gopkg.in/src-d/go-git-fixtures.v3"
··· 4 "os" 5 "path/filepath" 6 7 + "github.com/go-git/go-git/v5/plumbing/transport" 8 + "github.com/go-git/go-git/v5/plumbing/transport/test" 9 10 . "gopkg.in/check.v1" 11 "gopkg.in/src-d/go-git-fixtures.v3"
+4 -4
plumbing/transport/git/common.go
··· 6 "io" 7 "net" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 10 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 11 - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" 12 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 13 ) 14 15 // DefaultClient is the default git client.
··· 6 "io" 7 "net" 8 9 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 10 + "github.com/go-git/go-git/v5/plumbing/transport" 11 + "github.com/go-git/go-git/v5/plumbing/transport/internal/common" 12 + "github.com/go-git/go-git/v5/utils/ioutil" 13 ) 14 15 // DefaultClient is the default git client.
+1 -1
plumbing/transport/git/common_test.go
··· 11 "testing" 12 "time" 13 14 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 15 16 . "gopkg.in/check.v1" 17 "gopkg.in/src-d/go-git-fixtures.v3"
··· 11 "testing" 12 "time" 13 14 + "github.com/go-git/go-git/v5/plumbing/transport" 15 16 . "gopkg.in/check.v1" 17 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/transport/git/receive_pack_test.go
··· 1 package git 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" 5 6 . "gopkg.in/check.v1" 7 "gopkg.in/src-d/go-git-fixtures.v3"
··· 1 package git 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/transport/test" 5 6 . "gopkg.in/check.v1" 7 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/transport/git/upload_pack_test.go
··· 1 package git 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" 5 6 . "gopkg.in/check.v1" 7 "gopkg.in/src-d/go-git-fixtures.v3"
··· 1 package git 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/transport/test" 5 6 . "gopkg.in/check.v1" 7 "gopkg.in/src-d/go-git-fixtures.v3"
+4 -4
plumbing/transport/http/common.go
··· 9 "strconv" 10 "strings" 11 12 - "gopkg.in/src-d/go-git.v4/plumbing" 13 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 14 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 15 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 16 ) 17 18 // it requires a bytes.Buffer, because we need to know the length
··· 9 "strconv" 10 "strings" 11 12 + "github.com/go-git/go-git/v5/plumbing" 13 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 14 + "github.com/go-git/go-git/v5/plumbing/transport" 15 + "github.com/go-git/go-git/v5/utils/ioutil" 16 ) 17 18 // it requires a bytes.Buffer, because we need to know the length
+1 -1
plumbing/transport/http/common_test.go
··· 15 "strings" 16 "testing" 17 18 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 19 20 . "gopkg.in/check.v1" 21 "gopkg.in/src-d/go-git-fixtures.v3"
··· 15 "strings" 16 "testing" 17 18 + "github.com/go-git/go-git/v5/plumbing/transport" 19 20 . "gopkg.in/check.v1" 21 "gopkg.in/src-d/go-git-fixtures.v3"
+6 -6
plumbing/transport/http/receive_pack.go
··· 7 "io" 8 "net/http" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 12 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 13 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" 14 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 15 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 16 ) 17 18 type rpSession struct {
··· 7 "io" 8 "net/http" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 12 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 13 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband" 14 + "github.com/go-git/go-git/v5/plumbing/transport" 15 + "github.com/go-git/go-git/v5/utils/ioutil" 16 ) 17 18 type rpSession struct {
+1 -1
plumbing/transport/http/receive_pack_test.go
··· 1 package http 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" 5 6 . "gopkg.in/check.v1" 7 "gopkg.in/src-d/go-git-fixtures.v3"
··· 1 package http 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/transport/test" 5 6 . "gopkg.in/check.v1" 7 "gopkg.in/src-d/go-git-fixtures.v3"
+6 -6
plumbing/transport/http/upload_pack.go
··· 7 "io" 8 "net/http" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 12 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 13 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 14 - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" 15 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 16 ) 17 18 type upSession struct {
··· 7 "io" 8 "net/http" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 12 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 13 + "github.com/go-git/go-git/v5/plumbing/transport" 14 + "github.com/go-git/go-git/v5/plumbing/transport/internal/common" 15 + "github.com/go-git/go-git/v5/utils/ioutil" 16 ) 17 18 type upSession struct {
+4 -4
plumbing/transport/http/upload_pack_test.go
··· 6 "os" 7 "path/filepath" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 11 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 12 - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" 13 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3"
··· 6 "os" 7 "path/filepath" 8 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 11 + "github.com/go-git/go-git/v5/plumbing/transport" 12 + "github.com/go-git/go-git/v5/plumbing/transport/test" 13 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3"
+6 -6
plumbing/transport/internal/common/common.go
··· 15 "strings" 16 "time" 17 18 - "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" 19 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 20 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 21 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" 22 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 23 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 24 ) 25 26 const (
··· 15 "strings" 16 "time" 17 18 + "github.com/go-git/go-git/v5/plumbing/format/pktline" 19 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 20 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 21 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband" 22 + "github.com/go-git/go-git/v5/plumbing/transport" 23 + "github.com/go-git/go-git/v5/utils/ioutil" 24 ) 25 26 const (
+3 -3
plumbing/transport/internal/common/server.go
··· 5 "fmt" 6 "io" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 9 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 10 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 11 ) 12 13 // ServerCommand is used for a single server command execution.
··· 5 "fmt" 6 "io" 7 8 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 9 + "github.com/go-git/go-git/v5/plumbing/transport" 10 + "github.com/go-git/go-git/v5/utils/ioutil" 11 ) 12 13 // ServerCommand is used for a single server command execution.
+6 -6
plumbing/transport/server/loader.go
··· 1 package server 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 5 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 6 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 7 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 8 9 - "gopkg.in/src-d/go-billy.v4" 10 - "gopkg.in/src-d/go-billy.v4/osfs" 11 ) 12 13 // DefaultLoader is a filesystem loader ignoring host and resolving paths to /.
··· 1 package server 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/cache" 5 + "github.com/go-git/go-git/v5/plumbing/storer" 6 + "github.com/go-git/go-git/v5/plumbing/transport" 7 + "github.com/go-git/go-git/v5/storage/filesystem" 8 9 + "github.com/go-git/go-billy/v5" 10 + "github.com/go-git/go-billy/v5/osfs" 11 ) 12 13 // DefaultLoader is a filesystem loader ignoring host and resolving paths to /.
+2 -2
plumbing/transport/server/loader_test.go
··· 4 "os/exec" 5 "path/filepath" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 8 - "gopkg.in/src-d/go-git.v4/storage/memory" 9 10 . "gopkg.in/check.v1" 11 )
··· 4 "os/exec" 5 "path/filepath" 6 7 + "github.com/go-git/go-git/v5/plumbing/transport" 8 + "github.com/go-git/go-git/v5/storage/memory" 9 10 . "gopkg.in/check.v1" 11 )
+1 -1
plumbing/transport/server/receive_pack_test.go
··· 1 package server_test 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 5 6 . "gopkg.in/check.v1" 7 )
··· 1 package server_test 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/transport" 5 6 . "gopkg.in/check.v1" 7 )
+8 -8
plumbing/transport/server/server.go
··· 8 "fmt" 9 "io" 10 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 13 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 14 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 15 - "gopkg.in/src-d/go-git.v4/plumbing/revlist" 16 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 17 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 18 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 19 ) 20 21 var DefaultServer = NewServer(DefaultLoader)
··· 8 "fmt" 9 "io" 10 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 13 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 14 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 15 + "github.com/go-git/go-git/v5/plumbing/revlist" 16 + "github.com/go-git/go-git/v5/plumbing/storer" 17 + "github.com/go-git/go-git/v5/plumbing/transport" 18 + "github.com/go-git/go-git/v5/utils/ioutil" 19 ) 20 21 var DefaultServer = NewServer(DefaultLoader)
+7 -7
plumbing/transport/server/server_test.go
··· 3 import ( 4 "testing" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 7 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 8 - "gopkg.in/src-d/go-git.v4/plumbing/transport/client" 9 - "gopkg.in/src-d/go-git.v4/plumbing/transport/server" 10 - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" 11 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 12 - "gopkg.in/src-d/go-git.v4/storage/memory" 13 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3"
··· 3 import ( 4 "testing" 5 6 + "github.com/go-git/go-git/v5/plumbing/cache" 7 + "github.com/go-git/go-git/v5/plumbing/transport" 8 + "github.com/go-git/go-git/v5/plumbing/transport/client" 9 + "github.com/go-git/go-git/v5/plumbing/transport/server" 10 + "github.com/go-git/go-git/v5/plumbing/transport/test" 11 + "github.com/go-git/go-git/v5/storage/filesystem" 12 + "github.com/go-git/go-git/v5/storage/memory" 13 14 . "gopkg.in/check.v1" 15 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
plumbing/transport/server/upload_pack_test.go
··· 1 package server_test 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 5 6 . "gopkg.in/check.v1" 7 )
··· 1 package server_test 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/transport" 5 6 . "gopkg.in/check.v1" 7 )
+1 -1
plumbing/transport/ssh/auth_method.go
··· 10 "os/user" 11 "path/filepath" 12 13 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 14 15 "github.com/mitchellh/go-homedir" 16 "github.com/xanzy/ssh-agent"
··· 10 "os/user" 11 "path/filepath" 12 13 + "github.com/go-git/go-git/v5/plumbing/transport" 14 15 "github.com/mitchellh/go-homedir" 16 "github.com/xanzy/ssh-agent"
+2 -2
plumbing/transport/ssh/common.go
··· 7 "reflect" 8 "strconv" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 11 - "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common" 12 13 "github.com/kevinburke/ssh_config" 14 "golang.org/x/crypto/ssh"
··· 7 "reflect" 8 "strconv" 9 10 + "github.com/go-git/go-git/v5/plumbing/transport" 11 + "github.com/go-git/go-git/v5/plumbing/transport/internal/common" 12 13 "github.com/kevinburke/ssh_config" 14 "golang.org/x/crypto/ssh"
+1 -1
plumbing/transport/ssh/common_test.go
··· 8 "golang.org/x/crypto/ssh" 9 10 . "gopkg.in/check.v1" 11 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 12 ) 13 14 func Test(t *testing.T) { TestingT(t) }
··· 8 "golang.org/x/crypto/ssh" 9 10 . "gopkg.in/check.v1" 11 + "github.com/go-git/go-git/v5/plumbing/transport" 12 ) 13 14 func Test(t *testing.T) { TestingT(t) }
+2 -2
plumbing/transport/ssh/upload_pack_test.go
··· 12 "strings" 13 "sync" 14 15 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 16 - "gopkg.in/src-d/go-git.v4/plumbing/transport/test" 17 18 "github.com/gliderlabs/ssh" 19 stdssh "golang.org/x/crypto/ssh"
··· 12 "strings" 13 "sync" 14 15 + "github.com/go-git/go-git/v5/plumbing/transport" 16 + "github.com/go-git/go-git/v5/plumbing/transport/test" 17 18 "github.com/gliderlabs/ssh" 19 stdssh "golang.org/x/crypto/ssh"
+6 -6
plumbing/transport/test/receive_pack.go
··· 11 "os" 12 "path/filepath" 13 14 - "gopkg.in/src-d/go-git.v4/plumbing" 15 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 16 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 17 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 18 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 19 - "gopkg.in/src-d/go-git.v4/storage/memory" 20 21 . "gopkg.in/check.v1" 22 "gopkg.in/src-d/go-git-fixtures.v3"
··· 11 "os" 12 "path/filepath" 13 14 + "github.com/go-git/go-git/v5/plumbing" 15 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 16 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 17 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 18 + "github.com/go-git/go-git/v5/plumbing/transport" 19 + "github.com/go-git/go-git/v5/storage/memory" 20 21 . "gopkg.in/check.v1" 22 "gopkg.in/src-d/go-git-fixtures.v3"
+6 -6
plumbing/transport/test/upload_pack.go
··· 10 "io/ioutil" 11 "time" 12 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 15 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 16 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 17 - "gopkg.in/src-d/go-git.v4/storage/memory" 18 19 . "gopkg.in/check.v1" 20 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 21 ) 22 23 type UploadPackSuite struct {
··· 10 "io/ioutil" 11 "time" 12 13 + "github.com/go-git/go-git/v5/plumbing" 14 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 15 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 16 + "github.com/go-git/go-git/v5/plumbing/transport" 17 + "github.com/go-git/go-git/v5/storage/memory" 18 19 . "gopkg.in/check.v1" 20 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 21 ) 22 23 type UploadPackSuite struct {
+2 -2
prune.go
··· 4 "errors" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 9 ) 10 11 type PruneHandler func(unreferencedObjectHash plumbing.Hash) error
··· 4 "errors" 5 "time" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/storer" 9 ) 10 11 type PruneHandler func(unreferencedObjectHash plumbing.Hash) error
+5 -5
prune_test.go
··· 3 import ( 4 "time" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing" 7 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 8 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 9 - "gopkg.in/src-d/go-git.v4/storage" 10 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
··· 3 import ( 4 "time" 5 6 + "github.com/go-git/go-git/v5/plumbing" 7 + "github.com/go-git/go-git/v5/plumbing/cache" 8 + "github.com/go-git/go-git/v5/plumbing/storer" 9 + "github.com/go-git/go-git/v5/storage" 10 + "github.com/go-git/go-git/v5/storage/filesystem" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
+3 -3
references.go
··· 4 "io" 5 "sort" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/object" 9 - "gopkg.in/src-d/go-git.v4/utils/diff" 10 11 "github.com/sergi/go-diff/diffmatchpatch" 12 )
··· 4 "io" 5 "sort" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/object" 9 + "github.com/go-git/go-git/v5/utils/diff" 10 11 "github.com/sergi/go-diff/diffmatchpatch" 12 )
+3 -3
references_test.go
··· 4 "bytes" 5 "fmt" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/plumbing/object" 9 - "gopkg.in/src-d/go-git.v4/storage/memory" 10 11 . "gopkg.in/check.v1" 12 "gopkg.in/src-d/go-git-fixtures.v3"
··· 4 "bytes" 5 "fmt" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/plumbing/object" 9 + "github.com/go-git/go-git/v5/storage/memory" 10 11 . "gopkg.in/check.v1" 12 "gopkg.in/src-d/go-git-fixtures.v3"
+17 -17
remote.go
··· 6 "fmt" 7 "io" 8 9 - "gopkg.in/src-d/go-billy.v4/osfs" 10 - "gopkg.in/src-d/go-git.v4/config" 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 13 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 14 - "gopkg.in/src-d/go-git.v4/plumbing/object" 15 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 16 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 17 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" 18 - "gopkg.in/src-d/go-git.v4/plumbing/revlist" 19 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 20 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 21 - "gopkg.in/src-d/go-git.v4/plumbing/transport/client" 22 - "gopkg.in/src-d/go-git.v4/storage" 23 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 24 - "gopkg.in/src-d/go-git.v4/storage/memory" 25 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 26 ) 27 28 var (
··· 6 "fmt" 7 "io" 8 9 + "github.com/go-git/go-billy/v5/osfs" 10 + "github.com/go-git/go-git/v5/config" 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/cache" 13 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 14 + "github.com/go-git/go-git/v5/plumbing/object" 15 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 16 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 17 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband" 18 + "github.com/go-git/go-git/v5/plumbing/revlist" 19 + "github.com/go-git/go-git/v5/plumbing/storer" 20 + "github.com/go-git/go-git/v5/plumbing/transport" 21 + "github.com/go-git/go-git/v5/plumbing/transport/client" 22 + "github.com/go-git/go-git/v5/storage" 23 + "github.com/go-git/go-git/v5/storage/filesystem" 24 + "github.com/go-git/go-git/v5/storage/memory" 25 + "github.com/go-git/go-git/v5/utils/ioutil" 26 ) 27 28 var (
+10 -10
remote_test.go
··· 9 "runtime" 10 "time" 11 12 - "gopkg.in/src-d/go-git.v4/config" 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 15 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" 16 - "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" 17 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 18 - "gopkg.in/src-d/go-git.v4/storage" 19 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 20 - "gopkg.in/src-d/go-git.v4/storage/memory" 21 22 . "gopkg.in/check.v1" 23 - "gopkg.in/src-d/go-billy.v4/osfs" 24 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 25 ) 26
··· 9 "runtime" 10 "time" 11 12 + "github.com/go-git/go-git/v5/config" 13 + "github.com/go-git/go-git/v5/plumbing" 14 + "github.com/go-git/go-git/v5/plumbing/cache" 15 + "github.com/go-git/go-git/v5/plumbing/protocol/packp" 16 + "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" 17 + "github.com/go-git/go-git/v5/plumbing/storer" 18 + "github.com/go-git/go-git/v5/storage" 19 + "github.com/go-git/go-git/v5/storage/filesystem" 20 + "github.com/go-git/go-git/v5/storage/memory" 21 22 + "github.com/go-git/go-billy/v5/osfs" 23 . "gopkg.in/check.v1" 24 fixtures "gopkg.in/src-d/go-git-fixtures.v3" 25 ) 26
+12 -12
repository.go
··· 14 "time" 15 16 "golang.org/x/crypto/openpgp" 17 - "gopkg.in/src-d/go-git.v4/config" 18 - "gopkg.in/src-d/go-git.v4/internal/revision" 19 - "gopkg.in/src-d/go-git.v4/plumbing" 20 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 21 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 22 - "gopkg.in/src-d/go-git.v4/plumbing/object" 23 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 24 - "gopkg.in/src-d/go-git.v4/storage" 25 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 26 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 27 28 - "gopkg.in/src-d/go-billy.v4" 29 - "gopkg.in/src-d/go-billy.v4/osfs" 30 ) 31 32 // GitDirName this is a special folder where all the git stuff is.
··· 14 "time" 15 16 "golang.org/x/crypto/openpgp" 17 + "github.com/go-git/go-git/v5/config" 18 + "github.com/go-git/go-git/v5/internal/revision" 19 + "github.com/go-git/go-git/v5/plumbing" 20 + "github.com/go-git/go-git/v5/plumbing/cache" 21 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 22 + "github.com/go-git/go-git/v5/plumbing/object" 23 + "github.com/go-git/go-git/v5/plumbing/storer" 24 + "github.com/go-git/go-git/v5/storage" 25 + "github.com/go-git/go-git/v5/storage/filesystem" 26 + "github.com/go-git/go-git/v5/utils/ioutil" 27 28 + "github.com/go-git/go-billy/v5" 29 + "github.com/go-git/go-billy/v5/osfs" 30 ) 31 32 // GitDirName this is a special folder where all the git stuff is.
+15 -15
repository_test.go
··· 21 "golang.org/x/crypto/openpgp/armor" 22 openpgperr "golang.org/x/crypto/openpgp/errors" 23 24 - "gopkg.in/src-d/go-git.v4/config" 25 - "gopkg.in/src-d/go-git.v4/plumbing" 26 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 27 - "gopkg.in/src-d/go-git.v4/plumbing/object" 28 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 29 - "gopkg.in/src-d/go-git.v4/plumbing/transport" 30 - "gopkg.in/src-d/go-git.v4/storage" 31 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 32 - "gopkg.in/src-d/go-git.v4/storage/memory" 33 34 . "gopkg.in/check.v1" 35 - "gopkg.in/src-d/go-billy.v4/memfs" 36 - "gopkg.in/src-d/go-billy.v4/osfs" 37 - "gopkg.in/src-d/go-billy.v4/util" 38 ) 39 40 type RepositorySuite struct { ··· 2680 c.Assert(err, IsNil) 2681 2682 datas := map[string]string{ 2683 - "efs/heads/master~": "reference not found", 2684 - "HEAD^3": `Revision invalid : "3" found must be 0, 1 or 2 after "^"`, 2685 - "HEAD^{/whatever}": `No commit message match regexp : "whatever"`, 2686 "4e1243bd22c66e76c2ba9eddc1f91394e57f9f83": "reference not found", 2687 } 2688
··· 21 "golang.org/x/crypto/openpgp/armor" 22 openpgperr "golang.org/x/crypto/openpgp/errors" 23 24 + "github.com/go-git/go-git/v5/config" 25 + "github.com/go-git/go-git/v5/plumbing" 26 + "github.com/go-git/go-git/v5/plumbing/cache" 27 + "github.com/go-git/go-git/v5/plumbing/object" 28 + "github.com/go-git/go-git/v5/plumbing/storer" 29 + "github.com/go-git/go-git/v5/plumbing/transport" 30 + "github.com/go-git/go-git/v5/storage" 31 + "github.com/go-git/go-git/v5/storage/filesystem" 32 + "github.com/go-git/go-git/v5/storage/memory" 33 34 + "github.com/go-git/go-billy/v5/memfs" 35 + "github.com/go-git/go-billy/v5/osfs" 36 + "github.com/go-git/go-billy/v5/util" 37 . "gopkg.in/check.v1" 38 ) 39 40 type RepositorySuite struct { ··· 2680 c.Assert(err, IsNil) 2681 2682 datas := map[string]string{ 2683 + "efs/heads/master~": "reference not found", 2684 + "HEAD^3": `Revision invalid : "3" found must be 0, 1 or 2 after "^"`, 2685 + "HEAD^{/whatever}": `No commit message match regexp : "whatever"`, 2686 "4e1243bd22c66e76c2ba9eddc1f91394e57f9f83": "reference not found", 2687 } 2688
+3 -3
storage/filesystem/config.go
··· 4 stdioutil "io/ioutil" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4/config" 8 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 9 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 10 ) 11 12 type ConfigStorage struct {
··· 4 stdioutil "io/ioutil" 5 "os" 6 7 + "github.com/go-git/go-git/v5/config" 8 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 9 + "github.com/go-git/go-git/v5/utils/ioutil" 10 ) 11 12 type ConfigStorage struct {
+3 -3
storage/filesystem/config_test.go
··· 4 "io/ioutil" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4/config" 8 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 9 10 . "gopkg.in/check.v1" 11 - "gopkg.in/src-d/go-billy.v4/osfs" 12 "gopkg.in/src-d/go-git-fixtures.v3" 13 ) 14
··· 4 "io/ioutil" 5 "os" 6 7 + "github.com/go-git/go-git/v5/config" 8 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 9 10 + "github.com/go-git/go-billy/v5/osfs" 11 . "gopkg.in/check.v1" 12 "gopkg.in/src-d/go-git-fixtures.v3" 13 ) 14
+1 -1
storage/filesystem/deltaobject.go
··· 1 package filesystem 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 ) 6 7 type deltaObject struct {
··· 1 package filesystem 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 ) 6 7 type deltaObject struct {
+5 -5
storage/filesystem/dotgit/dotgit.go
··· 12 "strings" 13 "time" 14 15 - "gopkg.in/src-d/go-billy.v4/osfs" 16 - "gopkg.in/src-d/go-git.v4/plumbing" 17 - "gopkg.in/src-d/go-git.v4/storage" 18 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 19 20 - "gopkg.in/src-d/go-billy.v4" 21 ) 22 23 const (
··· 12 "strings" 13 "time" 14 15 + "github.com/go-git/go-billy/v5/osfs" 16 + "github.com/go-git/go-git/v5/plumbing" 17 + "github.com/go-git/go-git/v5/storage" 18 + "github.com/go-git/go-git/v5/utils/ioutil" 19 20 + "github.com/go-git/go-billy/v5" 21 ) 22 23 const (
+2 -2
storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go
··· 5 "os" 6 "runtime" 7 8 - "gopkg.in/src-d/go-billy.v4" 9 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 10 ) 11 12 func (d *DotGit) openAndLockPackedRefsMode() int {
··· 5 "os" 6 "runtime" 7 8 + "github.com/go-git/go-billy/v5" 9 + "github.com/go-git/go-git/v5/utils/ioutil" 10 ) 11 12 func (d *DotGit) openAndLockPackedRefsMode() int {
+3 -3
storage/filesystem/dotgit/dotgit_setref.go
··· 4 "fmt" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 9 10 - "gopkg.in/src-d/go-billy.v4" 11 ) 12 13 func (d *DotGit) setRef(fileName, content string, old *plumbing.Reference) (err error) {
··· 4 "fmt" 5 "os" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/utils/ioutil" 9 10 + "github.com/go-git/go-billy/v5" 11 ) 12 13 func (d *DotGit) setRef(fileName, content string, old *plumbing.Reference) (err error) {
+3 -3
storage/filesystem/dotgit/dotgit_test.go
··· 9 "strings" 10 "testing" 11 12 - "gopkg.in/src-d/go-billy.v4" 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 15 . "gopkg.in/check.v1" 16 - "gopkg.in/src-d/go-billy.v4/osfs" 17 "gopkg.in/src-d/go-git-fixtures.v3" 18 ) 19
··· 9 "strings" 10 "testing" 11 12 + "github.com/go-git/go-billy/v5" 13 + "github.com/go-git/go-git/v5/plumbing" 14 15 + "github.com/go-git/go-billy/v5/osfs" 16 . "gopkg.in/check.v1" 17 "gopkg.in/src-d/go-git-fixtures.v3" 18 ) 19
+5 -5
storage/filesystem/dotgit/writers.go
··· 5 "io" 6 "sync/atomic" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/objfile" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 12 13 - "gopkg.in/src-d/go-billy.v4" 14 ) 15 16 // PackWriter is a io.Writer that generates the packfile index simultaneously,
··· 5 "io" 6 "sync/atomic" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 10 + "github.com/go-git/go-git/v5/plumbing/format/objfile" 11 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 12 13 + "github.com/go-git/go-billy/v5" 14 ) 15 16 // PackWriter is a io.Writer that generates the packfile index simultaneously,
+4 -4
storage/filesystem/dotgit/writers_test.go
··· 8 "os" 9 "strconv" 10 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 13 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 14 15 . "gopkg.in/check.v1" 16 - "gopkg.in/src-d/go-billy.v4/osfs" 17 "gopkg.in/src-d/go-git-fixtures.v3" 18 ) 19
··· 8 "os" 9 "strconv" 10 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 13 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 14 15 + "github.com/go-git/go-billy/v5/osfs" 16 . "gopkg.in/check.v1" 17 "gopkg.in/src-d/go-git-fixtures.v3" 18 ) 19
+3 -3
storage/filesystem/index.go
··· 4 "bufio" 5 "os" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 8 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 9 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 10 ) 11 12 type IndexStorage struct {
··· 4 "bufio" 5 "os" 6 7 + "github.com/go-git/go-git/v5/plumbing/format/index" 8 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 9 + "github.com/go-git/go-git/v5/utils/ioutil" 10 ) 11 12 type IndexStorage struct {
+3 -3
storage/filesystem/module.go
··· 1 package filesystem 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 5 - "gopkg.in/src-d/go-git.v4/storage" 6 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 7 ) 8 9 type ModuleStorage struct {
··· 1 package filesystem 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/cache" 5 + "github.com/go-git/go-git/v5/storage" 6 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 7 ) 8 9 type ModuleStorage struct {
+9 -9
storage/filesystem/object.go
··· 5 "os" 6 "time" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" 11 - "gopkg.in/src-d/go-git.v4/plumbing/format/objfile" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" 13 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 14 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 15 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 16 17 - "gopkg.in/src-d/go-billy.v4" 18 ) 19 20 type ObjectStorage struct {
··· 5 "os" 6 "time" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/cache" 10 + "github.com/go-git/go-git/v5/plumbing/format/idxfile" 11 + "github.com/go-git/go-git/v5/plumbing/format/objfile" 12 + "github.com/go-git/go-git/v5/plumbing/format/packfile" 13 + "github.com/go-git/go-git/v5/plumbing/storer" 14 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 15 + "github.com/go-git/go-git/v5/utils/ioutil" 16 17 + "github.com/go-git/go-billy/v5" 18 ) 19 20 type ObjectStorage struct {
+3 -3
storage/filesystem/object_test.go
··· 8 "path/filepath" 9 "testing" 10 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 13 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 14 15 . "gopkg.in/check.v1" 16 "gopkg.in/src-d/go-git-fixtures.v3"
··· 8 "path/filepath" 9 "testing" 10 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/cache" 13 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 14 15 . "gopkg.in/check.v1" 16 "gopkg.in/src-d/go-git-fixtures.v3"
+3 -3
storage/filesystem/reference.go
··· 1 package filesystem 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 6 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 7 ) 8 9 type ReferenceStorage struct {
··· 1 package filesystem 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 + "github.com/go-git/go-git/v5/plumbing/storer" 6 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 7 ) 8 9 type ReferenceStorage struct {
+3 -3
storage/filesystem/shallow.go
··· 4 "bufio" 5 "fmt" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing" 8 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 9 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 10 ) 11 12 // ShallowStorage where the shallow commits are stored, an internal to
··· 4 "bufio" 5 "fmt" 6 7 + "github.com/go-git/go-git/v5/plumbing" 8 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 9 + "github.com/go-git/go-git/v5/utils/ioutil" 10 ) 11 12 // ShallowStorage where the shallow commits are stored, an internal to
+3 -3
storage/filesystem/storage.go
··· 2 package filesystem 3 4 import ( 5 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 6 - "gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit" 7 8 - "gopkg.in/src-d/go-billy.v4" 9 ) 10 11 // Storage is an implementation of git.Storer that stores data on disk in the
··· 2 package filesystem 3 4 import ( 5 + "github.com/go-git/go-git/v5/plumbing/cache" 6 + "github.com/go-git/go-git/v5/storage/filesystem/dotgit" 7 8 + "github.com/go-git/go-billy/v5" 9 ) 10 11 // Storage is an implementation of git.Storer that stores data on disk in the
+5 -5
storage/filesystem/storage_test.go
··· 4 "io/ioutil" 5 "testing" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 8 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 9 - "gopkg.in/src-d/go-git.v4/storage/test" 10 11 . "gopkg.in/check.v1" 12 - "gopkg.in/src-d/go-billy.v4/memfs" 13 - "gopkg.in/src-d/go-billy.v4/osfs" 14 ) 15 16 func Test(t *testing.T) { TestingT(t) }
··· 4 "io/ioutil" 5 "testing" 6 7 + "github.com/go-git/go-git/v5/plumbing/cache" 8 + "github.com/go-git/go-git/v5/plumbing/storer" 9 + "github.com/go-git/go-git/v5/storage/test" 10 11 + "github.com/go-git/go-billy/v5/memfs" 12 + "github.com/go-git/go-billy/v5/osfs" 13 . "gopkg.in/check.v1" 14 ) 15 16 func Test(t *testing.T) { TestingT(t) }
+5 -5
storage/memory/storage.go
··· 5 "fmt" 6 "time" 7 8 - "gopkg.in/src-d/go-git.v4/config" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 11 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 12 - "gopkg.in/src-d/go-git.v4/storage" 13 ) 14 15 var ErrUnsupportedObjectType = fmt.Errorf("unsupported object type")
··· 5 "fmt" 6 "time" 7 8 + "github.com/go-git/go-git/v5/config" 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/index" 11 + "github.com/go-git/go-git/v5/plumbing/storer" 12 + "github.com/go-git/go-git/v5/storage" 13 ) 14 15 var ErrUnsupportedObjectType = fmt.Errorf("unsupported object type")
+1 -1
storage/memory/storage_test.go
··· 4 "testing" 5 6 . "gopkg.in/check.v1" 7 - "gopkg.in/src-d/go-git.v4/storage/test" 8 ) 9 10 func Test(t *testing.T) { TestingT(t) }
··· 4 "testing" 5 6 . "gopkg.in/check.v1" 7 + "github.com/go-git/go-git/v5/storage/test" 8 ) 9 10 func Test(t *testing.T) { TestingT(t) }
+3 -3
storage/storer.go
··· 3 import ( 4 "errors" 5 6 - "gopkg.in/src-d/go-git.v4/config" 7 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 8 ) 9 10 var ErrReferenceHasChanged = errors.New("reference has changed concurrently") 11 12 // Storer is a generic storage of objects, references and any information 13 - // related to a particular repository. The package gopkg.in/src-d/go-git.v4/storage 14 // contains two implementation a filesystem base implementation (such as `.git`) 15 // and a memory implementations being ephemeral 16 type Storer interface {
··· 3 import ( 4 "errors" 5 6 + "github.com/go-git/go-git/v5/config" 7 + "github.com/go-git/go-git/v5/plumbing/storer" 8 ) 9 10 var ErrReferenceHasChanged = errors.New("reference has changed concurrently") 11 12 // Storer is a generic storage of objects, references and any information 13 + // related to a particular repository. The package github.com/go-git/go-git/v5/storage 14 // contains two implementation a filesystem base implementation (such as `.git`) 15 // and a memory implementations being ephemeral 16 type Storer interface {
+5 -5
storage/test/storage_suite.go
··· 7 "io" 8 "io/ioutil" 9 10 - "gopkg.in/src-d/go-git.v4/config" 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 13 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 14 - "gopkg.in/src-d/go-git.v4/storage" 15 16 . "gopkg.in/check.v1" 17 "gopkg.in/src-d/go-git-fixtures.v3"
··· 7 "io" 8 "io/ioutil" 9 10 + "github.com/go-git/go-git/v5/config" 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/format/index" 13 + "github.com/go-git/go-git/v5/plumbing/storer" 14 + "github.com/go-git/go-git/v5/storage" 15 16 . "gopkg.in/check.v1" 17 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
storage/transactional/config.go
··· 1 package transactional 2 3 - import "gopkg.in/src-d/go-git.v4/config" 4 5 // ConfigStorage implements the storer.ConfigStorage for the transactional package. 6 type ConfigStorage struct {
··· 1 package transactional 2 3 + import "github.com/go-git/go-git/v5/config" 4 5 // ConfigStorage implements the storer.ConfigStorage for the transactional package. 6 type ConfigStorage struct {
+2 -2
storage/transactional/config_test.go
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 - "gopkg.in/src-d/go-git.v4/config" 6 - "gopkg.in/src-d/go-git.v4/storage/memory" 7 ) 8 9 var _ = Suite(&ConfigSuite{})
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 + "github.com/go-git/go-git/v5/config" 6 + "github.com/go-git/go-git/v5/storage/memory" 7 ) 8 9 var _ = Suite(&ConfigSuite{})
+2 -2
storage/transactional/index.go
··· 1 package transactional 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 5 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 6 ) 7 8 // IndexStorage implements the storer.IndexStorage for the transactional package.
··· 1 package transactional 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing/format/index" 5 + "github.com/go-git/go-git/v5/plumbing/storer" 6 ) 7 8 // IndexStorage implements the storer.IndexStorage for the transactional package.
+2 -2
storage/transactional/index_test.go
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 6 - "gopkg.in/src-d/go-git.v4/storage/memory" 7 ) 8 9 var _ = Suite(&IndexSuite{})
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 + "github.com/go-git/go-git/v5/plumbing/format/index" 6 + "github.com/go-git/go-git/v5/storage/memory" 7 ) 8 9 var _ = Suite(&IndexSuite{})
+2 -2
storage/transactional/object.go
··· 1 package transactional 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 6 ) 7 8 // ObjectStorage implements the storer.EncodedObjectStorer for the transactional package.
··· 1 package transactional 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 + "github.com/go-git/go-git/v5/plumbing/storer" 6 ) 7 8 // ObjectStorage implements the storer.EncodedObjectStorer for the transactional package.
+2 -2
storage/transactional/object_test.go
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 - "gopkg.in/src-d/go-git.v4/plumbing" 6 - "gopkg.in/src-d/go-git.v4/storage/memory" 7 ) 8 9 var _ = Suite(&ObjectSuite{})
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 + "github.com/go-git/go-git/v5/plumbing" 6 + "github.com/go-git/go-git/v5/storage/memory" 7 ) 8 9 var _ = Suite(&ObjectSuite{})
+3 -3
storage/transactional/reference.go
··· 1 package transactional 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 6 - "gopkg.in/src-d/go-git.v4/storage" 7 ) 8 9 // ReferenceStorage implements the storer.ReferenceStorage for the transactional package.
··· 1 package transactional 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 + "github.com/go-git/go-git/v5/plumbing/storer" 6 + "github.com/go-git/go-git/v5/storage" 7 ) 8 9 // ReferenceStorage implements the storer.ReferenceStorage for the transactional package.
+2 -2
storage/transactional/reference_test.go
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 - "gopkg.in/src-d/go-git.v4/plumbing" 6 - "gopkg.in/src-d/go-git.v4/storage/memory" 7 ) 8 9 var _ = Suite(&ReferenceSuite{})
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 + "github.com/go-git/go-git/v5/plumbing" 6 + "github.com/go-git/go-git/v5/storage/memory" 7 ) 8 9 var _ = Suite(&ReferenceSuite{})
+2 -2
storage/transactional/shallow.go
··· 1 package transactional 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/plumbing" 5 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 6 ) 7 8 // ShallowStorage implements the storer.ShallowStorer for the transactional package.
··· 1 package transactional 2 3 import ( 4 + "github.com/go-git/go-git/v5/plumbing" 5 + "github.com/go-git/go-git/v5/plumbing/storer" 6 ) 7 8 // ShallowStorage implements the storer.ShallowStorer for the transactional package.
+2 -2
storage/transactional/shallow_test.go
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 - "gopkg.in/src-d/go-git.v4/plumbing" 6 - "gopkg.in/src-d/go-git.v4/storage/memory" 7 ) 8 9 var _ = Suite(&ShallowSuite{})
··· 2 3 import ( 4 . "gopkg.in/check.v1" 5 + "github.com/go-git/go-git/v5/plumbing" 6 + "github.com/go-git/go-git/v5/storage/memory" 7 ) 8 9 var _ = Suite(&ShallowSuite{})
+2 -2
storage/transactional/storage.go
··· 3 import ( 4 "io" 5 6 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 7 - "gopkg.in/src-d/go-git.v4/storage" 8 ) 9 10 // Storage is a transactional implementation of git.Storer, it demux the write
··· 3 import ( 4 "io" 5 6 + "github.com/go-git/go-git/v5/plumbing/storer" 7 + "github.com/go-git/go-git/v5/storage" 8 ) 9 10 // Storage is a transactional implementation of git.Storer, it demux the write
+8 -8
storage/transactional/storage_test.go
··· 3 import ( 4 "testing" 5 6 . "gopkg.in/check.v1" 7 - "gopkg.in/src-d/go-billy.v4/memfs" 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 10 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 11 - "gopkg.in/src-d/go-git.v4/storage" 12 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 13 - "gopkg.in/src-d/go-git.v4/storage/memory" 14 - "gopkg.in/src-d/go-git.v4/storage/test" 15 ) 16 17 func Test(t *testing.T) { TestingT(t) }
··· 3 import ( 4 "testing" 5 6 + "github.com/go-git/go-billy/v5/memfs" 7 . "gopkg.in/check.v1" 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/cache" 10 + "github.com/go-git/go-git/v5/plumbing/storer" 11 + "github.com/go-git/go-git/v5/storage" 12 + "github.com/go-git/go-git/v5/storage/filesystem" 13 + "github.com/go-git/go-git/v5/storage/memory" 14 + "github.com/go-git/go-git/v5/storage/test" 15 ) 16 17 func Test(t *testing.T) { TestingT(t) }
+4 -4
submodule.go
··· 6 "errors" 7 "fmt" 8 9 - "gopkg.in/src-d/go-billy.v4" 10 - "gopkg.in/src-d/go-git.v4/config" 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 13 ) 14 15 var (
··· 6 "errors" 7 "fmt" 8 9 + "github.com/go-git/go-billy/v5" 10 + "github.com/go-git/go-git/v5/config" 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/format/index" 13 ) 14 15 var (
+1 -1
submodule_test.go
··· 7 "path/filepath" 8 "testing" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
··· 7 "path/filepath" 8 "testing" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 12 . "gopkg.in/check.v1" 13 "gopkg.in/src-d/go-git-fixtures.v3"
+1 -1
utils/binary/read.go
··· 7 "encoding/binary" 8 "io" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 ) 12 13 // Read reads structured binary data from r into data. Bytes are read and
··· 7 "encoding/binary" 8 "io" 9 10 + "github.com/go-git/go-git/v5/plumbing" 11 ) 12 13 // Read reads structured binary data from r into data. Bytes are read and
+1 -1
utils/binary/read_test.go
··· 7 "testing" 8 9 . "gopkg.in/check.v1" 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 ) 12 13 func Test(t *testing.T) { TestingT(t) }
··· 7 "testing" 8 9 . "gopkg.in/check.v1" 10 + "github.com/go-git/go-git/v5/plumbing" 11 ) 12 13 func Test(t *testing.T) { TestingT(t) }
+1 -1
utils/diff/diff_ext_test.go
··· 3 import ( 4 "testing" 5 6 - "gopkg.in/src-d/go-git.v4/utils/diff" 7 8 "github.com/sergi/go-diff/diffmatchpatch" 9 . "gopkg.in/check.v1"
··· 3 import ( 4 "testing" 5 6 + "github.com/go-git/go-git/v5/utils/diff" 7 8 "github.com/sergi/go-diff/diffmatchpatch" 9 . "gopkg.in/check.v1"
+1 -1
utils/merkletrie/change.go
··· 4 "fmt" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 8 ) 9 10 // Action values represent the kind of things a Change can represent:
··· 4 "fmt" 5 "io" 6 7 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 8 ) 9 10 // Action values represent the kind of things a Change can represent:
+3 -3
utils/merkletrie/change_test.go
··· 1 package merkletrie_test 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 5 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" 6 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 7 8 . "gopkg.in/check.v1" 9 )
··· 1 package merkletrie_test 2 3 import ( 4 + "github.com/go-git/go-git/v5/utils/merkletrie" 5 + "github.com/go-git/go-git/v5/utils/merkletrie/internal/fsnoder" 6 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 7 8 . "gopkg.in/check.v1" 9 )
+1 -1
utils/merkletrie/difftree.go
··· 252 "errors" 253 "fmt" 254 255 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 256 ) 257 258 var (
··· 252 "errors" 253 "fmt" 254 255 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 256 ) 257 258 var (
+2 -2
utils/merkletrie/difftree_test.go
··· 10 "testing" 11 "unicode" 12 13 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 14 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" 15 16 . "gopkg.in/check.v1" 17 )
··· 10 "testing" 11 "unicode" 12 13 + "github.com/go-git/go-git/v5/utils/merkletrie" 14 + "github.com/go-git/go-git/v5/utils/merkletrie/internal/fsnoder" 15 16 . "gopkg.in/check.v1" 17 )
+1 -1
utils/merkletrie/doubleiter.go
··· 4 "fmt" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 8 ) 9 10 // A doubleIter is a convenience type to keep track of the current
··· 4 "fmt" 5 "io" 6 7 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 8 ) 9 10 // A doubleIter is a convenience type to keep track of the current
+4 -4
utils/merkletrie/filesystem/node.go
··· 5 "os" 6 "path" 7 8 - "gopkg.in/src-d/go-git.v4/plumbing" 9 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 10 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 11 12 - "gopkg.in/src-d/go-billy.v4" 13 ) 14 15 var ignore = map[string]bool{
··· 5 "os" 6 "path" 7 8 + "github.com/go-git/go-git/v5/plumbing" 9 + "github.com/go-git/go-git/v5/plumbing/filemode" 10 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 11 12 + "github.com/go-git/go-billy/v5" 13 ) 14 15 var ignore = map[string]bool{
+5 -5
utils/merkletrie/filesystem/node_test.go
··· 7 "path" 8 "testing" 9 10 . "gopkg.in/check.v1" 11 - "gopkg.in/src-d/go-billy.v4" 12 - "gopkg.in/src-d/go-billy.v4/memfs" 13 - "gopkg.in/src-d/go-git.v4/plumbing" 14 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 15 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 16 ) 17 18 func Test(t *testing.T) { TestingT(t) }
··· 7 "path" 8 "testing" 9 10 + "github.com/go-git/go-billy/v5" 11 + "github.com/go-git/go-billy/v5/memfs" 12 . "gopkg.in/check.v1" 13 + "github.com/go-git/go-git/v5/plumbing" 14 + "github.com/go-git/go-git/v5/utils/merkletrie" 15 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 16 ) 17 18 func Test(t *testing.T) { TestingT(t) }
+2 -2
utils/merkletrie/index/node.go
··· 4 "path" 5 "strings" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 9 ) 10 11 // The node represents a index.Entry or a directory inferred from the path
··· 4 "path" 5 "strings" 6 7 + "github.com/go-git/go-git/v5/plumbing/format/index" 8 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 9 ) 10 11 // The node represents a index.Entry or a directory inferred from the path
+4 -4
utils/merkletrie/index/node_test.go
··· 6 "testing" 7 8 . "gopkg.in/check.v1" 9 - "gopkg.in/src-d/go-git.v4/plumbing" 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 11 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 12 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 13 ) 14 15 func Test(t *testing.T) { TestingT(t) }
··· 6 "testing" 7 8 . "gopkg.in/check.v1" 9 + "github.com/go-git/go-git/v5/plumbing" 10 + "github.com/go-git/go-git/v5/plumbing/format/index" 11 + "github.com/go-git/go-git/v5/utils/merkletrie" 12 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 13 ) 14 15 func Test(t *testing.T) { TestingT(t) }
+1 -1
utils/merkletrie/internal/frame/frame.go
··· 6 "sort" 7 "strings" 8 9 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 10 ) 11 12 // A Frame is a collection of siblings in a trie, sorted alphabetically
··· 6 "sort" 7 "strings" 8 9 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 10 ) 11 12 // A Frame is a collection of siblings in a trie, sorted alphabetically
+2 -2
utils/merkletrie/internal/frame/frame_test.go
··· 4 "fmt" 5 "testing" 6 7 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 9 10 . "gopkg.in/check.v1" 11 )
··· 4 "fmt" 5 "testing" 6 7 + "github.com/go-git/go-git/v5/utils/merkletrie/internal/fsnoder" 8 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 9 10 . "gopkg.in/check.v1" 11 )
+1 -1
utils/merkletrie/internal/fsnoder/dir.go
··· 7 "sort" 8 "strings" 9 10 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 11 ) 12 13 // Dir values implement directory-like noders.
··· 7 "sort" 8 "strings" 9 10 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 11 ) 12 13 // Dir values implement directory-like noders.
+1 -1
utils/merkletrie/internal/fsnoder/dir_test.go
··· 4 "reflect" 5 "sort" 6 7 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 8 9 . "gopkg.in/check.v1" 10 )
··· 4 "reflect" 5 "sort" 6 7 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 8 9 . "gopkg.in/check.v1" 10 )
+1 -1
utils/merkletrie/internal/fsnoder/file.go
··· 5 "fmt" 6 "hash/fnv" 7 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 9 ) 10 11 // file values represent file-like noders in a merkle trie.
··· 5 "fmt" 6 "hash/fnv" 7 8 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 9 ) 10 11 // file values represent file-like noders in a merkle trie.
+1 -1
utils/merkletrie/internal/fsnoder/file_test.go
··· 3 import ( 4 "testing" 5 6 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 7 8 . "gopkg.in/check.v1" 9 )
··· 3 import ( 4 "testing" 5 6 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 7 8 . "gopkg.in/check.v1" 9 )
+1 -1
utils/merkletrie/internal/fsnoder/new.go
··· 5 "fmt" 6 "io" 7 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 9 ) 10 11 // New function creates a full merkle trie from the string description of
··· 5 "fmt" 6 "io" 7 8 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 9 ) 10 11 // New function creates a full merkle trie from the string description of
+1 -1
utils/merkletrie/internal/fsnoder/new_test.go
··· 1 package fsnoder 2 3 import ( 4 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 5 6 . "gopkg.in/check.v1" 7 )
··· 1 package fsnoder 2 3 import ( 4 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 5 6 . "gopkg.in/check.v1" 7 )
+2 -2
utils/merkletrie/iter.go
··· 4 "fmt" 5 "io" 6 7 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/frame" 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 9 ) 10 11 // Iter is an iterator for merkletries (only the trie part of the
··· 4 "fmt" 5 "io" 6 7 + "github.com/go-git/go-git/v5/utils/merkletrie/internal/frame" 8 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 9 ) 10 11 // Iter is an iterator for merkletries (only the trie part of the
+3 -3
utils/merkletrie/iter_test.go
··· 5 "io" 6 "strings" 7 8 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 9 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" 10 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 11 12 . "gopkg.in/check.v1" 13 )
··· 5 "io" 6 "strings" 7 8 + "github.com/go-git/go-git/v5/utils/merkletrie" 9 + "github.com/go-git/go-git/v5/utils/merkletrie/internal/fsnoder" 10 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 11 12 . "gopkg.in/check.v1" 13 )
+11 -11
worktree.go
··· 11 "strings" 12 "sync" 13 14 - "gopkg.in/src-d/go-git.v4/config" 15 - "gopkg.in/src-d/go-git.v4/plumbing" 16 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 17 - "gopkg.in/src-d/go-git.v4/plumbing/format/gitignore" 18 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 19 - "gopkg.in/src-d/go-git.v4/plumbing/object" 20 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 21 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 22 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 23 24 - "gopkg.in/src-d/go-billy.v4" 25 - "gopkg.in/src-d/go-billy.v4/util" 26 ) 27 28 var (
··· 11 "strings" 12 "sync" 13 14 + "github.com/go-git/go-git/v5/config" 15 + "github.com/go-git/go-git/v5/plumbing" 16 + "github.com/go-git/go-git/v5/plumbing/filemode" 17 + "github.com/go-git/go-git/v5/plumbing/format/gitignore" 18 + "github.com/go-git/go-git/v5/plumbing/format/index" 19 + "github.com/go-git/go-git/v5/plumbing/object" 20 + "github.com/go-git/go-git/v5/plumbing/storer" 21 + "github.com/go-git/go-git/v5/utils/ioutil" 22 + "github.com/go-git/go-git/v5/utils/merkletrie" 23 24 + "github.com/go-git/go-billy/v5" 25 + "github.com/go-git/go-billy/v5/util" 26 ) 27 28 var (
+1 -1
worktree_bsd.go
··· 6 "syscall" 7 "time" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 10 ) 11 12 func init() {
··· 6 "syscall" 7 "time" 8 9 + "github.com/go-git/go-git/v5/plumbing/format/index" 10 ) 11 12 func init() {
+6 -6
worktree_commit.go
··· 7 "strings" 8 9 "golang.org/x/crypto/openpgp" 10 - "gopkg.in/src-d/go-git.v4/plumbing" 11 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 12 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 13 - "gopkg.in/src-d/go-git.v4/plumbing/object" 14 - "gopkg.in/src-d/go-git.v4/storage" 15 16 - "gopkg.in/src-d/go-billy.v4" 17 ) 18 19 // Commit stores the current contents of the index in a new commit along with
··· 7 "strings" 8 9 "golang.org/x/crypto/openpgp" 10 + "github.com/go-git/go-git/v5/plumbing" 11 + "github.com/go-git/go-git/v5/plumbing/filemode" 12 + "github.com/go-git/go-git/v5/plumbing/format/index" 13 + "github.com/go-git/go-git/v5/plumbing/object" 14 + "github.com/go-git/go-git/v5/storage" 15 16 + "github.com/go-git/go-billy/v5" 17 ) 18 19 // Commit stores the current contents of the index in a new commit along with
+9 -9
worktree_commit_test.go
··· 8 "strings" 9 "time" 10 11 - "gopkg.in/src-d/go-git.v4/plumbing" 12 - "gopkg.in/src-d/go-git.v4/plumbing/cache" 13 - "gopkg.in/src-d/go-git.v4/plumbing/object" 14 - "gopkg.in/src-d/go-git.v4/plumbing/storer" 15 - "gopkg.in/src-d/go-git.v4/storage/filesystem" 16 - "gopkg.in/src-d/go-git.v4/storage/memory" 17 18 "golang.org/x/crypto/openpgp" 19 "golang.org/x/crypto/openpgp/armor" 20 "golang.org/x/crypto/openpgp/errors" 21 . "gopkg.in/check.v1" 22 - "gopkg.in/src-d/go-billy.v4/memfs" 23 - "gopkg.in/src-d/go-billy.v4/osfs" 24 - "gopkg.in/src-d/go-billy.v4/util" 25 ) 26 27 func (s *WorktreeSuite) TestCommitInvalidOptions(c *C) {
··· 8 "strings" 9 "time" 10 11 + "github.com/go-git/go-git/v5/plumbing" 12 + "github.com/go-git/go-git/v5/plumbing/cache" 13 + "github.com/go-git/go-git/v5/plumbing/object" 14 + "github.com/go-git/go-git/v5/plumbing/storer" 15 + "github.com/go-git/go-git/v5/storage/filesystem" 16 + "github.com/go-git/go-git/v5/storage/memory" 17 18 + "github.com/go-git/go-billy/v5/memfs" 19 + "github.com/go-git/go-billy/v5/osfs" 20 + "github.com/go-git/go-billy/v5/util" 21 "golang.org/x/crypto/openpgp" 22 "golang.org/x/crypto/openpgp/armor" 23 "golang.org/x/crypto/openpgp/errors" 24 . "gopkg.in/check.v1" 25 ) 26 27 func (s *WorktreeSuite) TestCommitInvalidOptions(c *C) {
+1 -1
worktree_linux.go
··· 6 "syscall" 7 "time" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 10 ) 11 12 func init() {
··· 6 "syscall" 7 "time" 8 9 + "github.com/go-git/go-git/v5/plumbing/format/index" 10 ) 11 12 func init() {
+1 -1
worktree_plan9.go
··· 4 "syscall" 5 "time" 6 7 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 8 ) 9 10 func init() {
··· 4 "syscall" 5 "time" 6 7 + "github.com/go-git/go-git/v5/plumbing/format/index" 8 ) 9 10 func init() {
+11 -11
worktree_status.go
··· 8 "path" 9 "path/filepath" 10 11 - "gopkg.in/src-d/go-billy.v4/util" 12 - "gopkg.in/src-d/go-git.v4/plumbing" 13 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 14 - "gopkg.in/src-d/go-git.v4/plumbing/format/gitignore" 15 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 16 - "gopkg.in/src-d/go-git.v4/plumbing/object" 17 - "gopkg.in/src-d/go-git.v4/utils/ioutil" 18 - "gopkg.in/src-d/go-git.v4/utils/merkletrie" 19 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/filesystem" 20 - mindex "gopkg.in/src-d/go-git.v4/utils/merkletrie/index" 21 - "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" 22 ) 23 24 var (
··· 8 "path" 9 "path/filepath" 10 11 + "github.com/go-git/go-billy/v5/util" 12 + "github.com/go-git/go-git/v5/plumbing" 13 + "github.com/go-git/go-git/v5/plumbing/filemode" 14 + "github.com/go-git/go-git/v5/plumbing/format/gitignore" 15 + "github.com/go-git/go-git/v5/plumbing/format/index" 16 + "github.com/go-git/go-git/v5/plumbing/object" 17 + "github.com/go-git/go-git/v5/utils/ioutil" 18 + "github.com/go-git/go-git/v5/utils/merkletrie" 19 + "github.com/go-git/go-git/v5/utils/merkletrie/filesystem" 20 + mindex "github.com/go-git/go-git/v5/utils/merkletrie/index" 21 + "github.com/go-git/go-git/v5/utils/merkletrie/noder" 22 ) 23 24 var (
+10 -10
worktree_test.go
··· 12 "testing" 13 "time" 14 15 - "gopkg.in/src-d/go-git.v4/config" 16 - "gopkg.in/src-d/go-git.v4/plumbing" 17 - "gopkg.in/src-d/go-git.v4/plumbing/filemode" 18 - "gopkg.in/src-d/go-git.v4/plumbing/format/gitignore" 19 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 20 - "gopkg.in/src-d/go-git.v4/plumbing/object" 21 - "gopkg.in/src-d/go-git.v4/storage/memory" 22 23 "golang.org/x/text/unicode/norm" 24 . "gopkg.in/check.v1" 25 - "gopkg.in/src-d/go-billy.v4/memfs" 26 - "gopkg.in/src-d/go-billy.v4/osfs" 27 - "gopkg.in/src-d/go-billy.v4/util" 28 "gopkg.in/src-d/go-git-fixtures.v3" 29 ) 30
··· 12 "testing" 13 "time" 14 15 + "github.com/go-git/go-git/v5/config" 16 + "github.com/go-git/go-git/v5/plumbing" 17 + "github.com/go-git/go-git/v5/plumbing/filemode" 18 + "github.com/go-git/go-git/v5/plumbing/format/gitignore" 19 + "github.com/go-git/go-git/v5/plumbing/format/index" 20 + "github.com/go-git/go-git/v5/plumbing/object" 21 + "github.com/go-git/go-git/v5/storage/memory" 22 23 + "github.com/go-git/go-billy/v5/memfs" 24 + "github.com/go-git/go-billy/v5/osfs" 25 + "github.com/go-git/go-billy/v5/util" 26 "golang.org/x/text/unicode/norm" 27 . "gopkg.in/check.v1" 28 "gopkg.in/src-d/go-git-fixtures.v3" 29 ) 30
+1 -1
worktree_unix_other.go
··· 6 "syscall" 7 "time" 8 9 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 10 ) 11 12 func init() {
··· 6 "syscall" 7 "time" 8 9 + "github.com/go-git/go-git/v5/plumbing/format/index" 10 ) 11 12 func init() {
+1 -1
worktree_windows.go
··· 7 "syscall" 8 "time" 9 10 - "gopkg.in/src-d/go-git.v4/plumbing/format/index" 11 ) 12 13 func init() {
··· 7 "syscall" 8 "time" 9 10 + "github.com/go-git/go-git/v5/plumbing/format/index" 11 ) 12 13 func init() {