+1
-1
.travis.yml
+1
-1
.travis.yml
+1
-1
Makefile
+1
-1
Makefile
+3
-3
README.md
+3
-3
README.md
···
1

2
-
[](https://godoc.org/github.com/src-d/go-git) [](https://travis-ci.org/src-d/go-git) [](https://ci.appveyor.com/project/mcuadros/go-git) [](https://codecov.io/github/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

2
+
[](https://godoc.org/github.com/src-d/go-git) [](https://travis-ci.org/src-d/go-git) [](https://ci.appveyor.com/project/mcuadros/go-git) [](https://codecov.io/github/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
-3
_examples/branch/main.go
+3
-3
_examples/checkout/main.go
+3
-3
_examples/checkout/main.go
+3
-3
_examples/clone/auth/basic/access_token/main.go
+3
-3
_examples/clone/auth/basic/access_token/main.go
+3
-3
_examples/clone/auth/basic/username_password/main.go
+3
-3
_examples/clone/auth/basic/username_password/main.go
+2
-2
_examples/clone/main.go
+2
-2
_examples/clone/main.go
+3
-3
_examples/commit/main.go
+3
-3
_examples/commit/main.go
+1
-1
_examples/common_test.go
+1
-1
_examples/common_test.go
+2
-2
_examples/context/main.go
+2
-2
_examples/context/main.go
+5
-5
_examples/custom_http/main.go
+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
-4
_examples/log/main.go
+3
-3
_examples/ls-remote/main.go
+3
-3
_examples/ls-remote/main.go
+10
-10
_examples/ls/main.go
+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
+1
-1
_examples/merge_base/helpers.go
+3
-3
_examples/merge_base/main.go
+3
-3
_examples/merge_base/main.go
+3
-3
_examples/open/main.go
+3
-3
_examples/open/main.go
+2
-2
_examples/progress/main.go
+2
-2
_examples/progress/main.go
+2
-2
_examples/pull/main.go
+2
-2
_examples/pull/main.go
+2
-2
_examples/push/main.go
+2
-2
_examples/push/main.go
+5
-5
_examples/remotes/main.go
+5
-5
_examples/remotes/main.go
+3
-3
_examples/revision/main.go
+3
-3
_examples/revision/main.go
+3
-3
_examples/showcase/main.go
+3
-3
_examples/showcase/main.go
+1
-1
_examples/storage/README.md
+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
-4
_examples/tag/main.go
+3
-3
blame.go
+3
-3
blame.go
+2
-2
blame_test.go
+2
-2
blame_test.go
+1
-1
cli/go-git/receive_pack.go
+1
-1
cli/go-git/receive_pack.go
+1
-1
cli/go-git/upload_pack.go
+1
-1
cli/go-git/upload_pack.go
+9
-9
common_test.go
+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
+2
-2
config/branch.go
+1
-1
config/branch_test.go
+1
-1
config/branch_test.go
+2
-2
config/config.go
+2
-2
config/config.go
+1
-1
config/config_test.go
+1
-1
config/config_test.go
+1
-1
config/modules.go
+1
-1
config/modules.go
+1
-1
config/refspec.go
+1
-1
config/refspec.go
+1
-1
config/refspec_test.go
+1
-1
config/refspec_test.go
+1
-1
doc.go
+1
-1
doc.go
+6
-6
example_test.go
+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
+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
+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
+4
-4
object_walker.go
+5
-5
options.go
+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
+1
-1
options_test.go
+1
-1
plumbing/cache/common.go
+1
-1
plumbing/cache/common.go
+1
-1
plumbing/cache/object_lru.go
+1
-1
plumbing/cache/object_lru.go
+1
-1
plumbing/cache/object_test.go
+1
-1
plumbing/cache/object_test.go
+1
-1
plumbing/format/commitgraph/commitgraph.go
+1
-1
plumbing/format/commitgraph/commitgraph.go
+2
-2
plumbing/format/commitgraph/commitgraph_test.go
+2
-2
plumbing/format/commitgraph/commitgraph_test.go
+2
-2
plumbing/format/commitgraph/encoder.go
+2
-2
plumbing/format/commitgraph/encoder.go
+2
-2
plumbing/format/commitgraph/file.go
+2
-2
plumbing/format/commitgraph/file.go
+1
-1
plumbing/format/commitgraph/memory.go
+1
-1
plumbing/format/commitgraph/memory.go
+2
-2
plumbing/format/diff/patch.go
+2
-2
plumbing/format/diff/patch.go
+1
-1
plumbing/format/diff/unified_encoder.go
+1
-1
plumbing/format/diff/unified_encoder.go
+2
-2
plumbing/format/diff/unified_encoder_test.go
+2
-2
plumbing/format/diff/unified_encoder_test.go
+3
-3
plumbing/format/gitattributes/dir.go
+3
-3
plumbing/format/gitattributes/dir.go
+2
-2
plumbing/format/gitattributes/dir_test.go
+2
-2
plumbing/format/gitattributes/dir_test.go
+3
-3
plumbing/format/gitignore/dir.go
+3
-3
plumbing/format/gitignore/dir.go
+3
-3
plumbing/format/gitignore/dir_test.go
+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
+1
-1
plumbing/format/idxfile/decoder.go
+2
-2
plumbing/format/idxfile/decoder_test.go
+2
-2
plumbing/format/idxfile/decoder_test.go
+1
-1
plumbing/format/idxfile/encoder.go
+1
-1
plumbing/format/idxfile/encoder.go
+1
-1
plumbing/format/idxfile/encoder_test.go
+1
-1
plumbing/format/idxfile/encoder_test.go
+1
-1
plumbing/format/idxfile/idxfile.go
+1
-1
plumbing/format/idxfile/idxfile.go
+2
-2
plumbing/format/idxfile/idxfile_test.go
+2
-2
plumbing/format/idxfile/idxfile_test.go
+2
-2
plumbing/format/idxfile/writer.go
+2
-2
plumbing/format/idxfile/writer.go
+3
-3
plumbing/format/idxfile/writer_test.go
+3
-3
plumbing/format/idxfile/writer_test.go
+2
-2
plumbing/format/index/decoder.go
+2
-2
plumbing/format/index/decoder.go
+2
-2
plumbing/format/index/decoder_test.go
+2
-2
plumbing/format/index/decoder_test.go
+1
-1
plumbing/format/index/encoder.go
+1
-1
plumbing/format/index/encoder.go
+1
-1
plumbing/format/index/encoder_test.go
+1
-1
plumbing/format/index/encoder_test.go
+2
-2
plumbing/format/index/index.go
+2
-2
plumbing/format/index/index.go
+1
-1
plumbing/format/objfile/common_test.go
+1
-1
plumbing/format/objfile/common_test.go
+2
-2
plumbing/format/objfile/reader.go
+2
-2
plumbing/format/objfile/reader.go
+1
-1
plumbing/format/objfile/reader_test.go
+1
-1
plumbing/format/objfile/reader_test.go
+1
-1
plumbing/format/objfile/writer.go
+1
-1
plumbing/format/objfile/writer.go
+1
-1
plumbing/format/objfile/writer_test.go
+1
-1
plumbing/format/objfile/writer_test.go
+2
-2
plumbing/format/packfile/common.go
+2
-2
plumbing/format/packfile/common.go
+2
-2
plumbing/format/packfile/common_test.go
+2
-2
plumbing/format/packfile/common_test.go
+2
-2
plumbing/format/packfile/delta_selector.go
+2
-2
plumbing/format/packfile/delta_selector.go
+2
-2
plumbing/format/packfile/delta_selector_test.go
+2
-2
plumbing/format/packfile/delta_selector_test.go
+1
-1
plumbing/format/packfile/diff_delta.go
+1
-1
plumbing/format/packfile/diff_delta.go
+3
-3
plumbing/format/packfile/encoder.go
+3
-3
plumbing/format/packfile/encoder.go
+7
-7
plumbing/format/packfile/encoder_advanced_test.go
+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
+4
-4
plumbing/format/packfile/encoder_test.go
+4
-4
plumbing/format/packfile/fsobject.go
+4
-4
plumbing/format/packfile/fsobject.go
+1
-1
plumbing/format/packfile/object_pack.go
+1
-1
plumbing/format/packfile/object_pack.go
+1
-1
plumbing/format/packfile/object_pack_test.go
+1
-1
plumbing/format/packfile/object_pack_test.go
+5
-5
plumbing/format/packfile/packfile.go
+5
-5
plumbing/format/packfile/packfile.go
+5
-5
plumbing/format/packfile/packfile_test.go
+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
+3
-3
plumbing/format/packfile/parser.go
+4
-4
plumbing/format/packfile/parser_test.go
+4
-4
plumbing/format/packfile/parser_test.go
+1
-1
plumbing/format/packfile/patch_delta.go
+1
-1
plumbing/format/packfile/patch_delta.go
+3
-3
plumbing/format/packfile/scanner.go
+3
-3
plumbing/format/packfile/scanner.go
+1
-1
plumbing/format/packfile/scanner_test.go
+1
-1
plumbing/format/packfile/scanner_test.go
+1
-1
plumbing/format/pktline/encoder_test.go
+1
-1
plumbing/format/pktline/encoder_test.go
+1
-1
plumbing/format/pktline/scanner_test.go
+1
-1
plumbing/format/pktline/scanner_test.go
+3
-3
plumbing/object/blob.go
+3
-3
plumbing/object/blob.go
+1
-1
plumbing/object/blob_test.go
+1
-1
plumbing/object/blob_test.go
+1
-1
plumbing/object/change.go
+1
-1
plumbing/object/change.go
+2
-2
plumbing/object/change_adaptor.go
+2
-2
plumbing/object/change_adaptor.go
+7
-7
plumbing/object/change_adaptor_test.go
+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
+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
+3
-3
plumbing/object/commit.go
+6
-6
plumbing/object/commit_stats_test.go
+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
+3
-3
plumbing/object/commit_test.go
+3
-3
plumbing/object/commit_walker.go
+3
-3
plumbing/object/commit_walker.go
+2
-2
plumbing/object/commit_walker_bfs.go
+2
-2
plumbing/object/commit_walker_bfs.go
+2
-2
plumbing/object/commit_walker_bfs_filtered.go
+2
-2
plumbing/object/commit_walker_bfs_filtered.go
+2
-2
plumbing/object/commit_walker_bfs_filtered_test.go
+2
-2
plumbing/object/commit_walker_bfs_filtered_test.go
+2
-2
plumbing/object/commit_walker_ctime.go
+2
-2
plumbing/object/commit_walker_ctime.go
+1
-1
plumbing/object/commit_walker_limit.go
+1
-1
plumbing/object/commit_walker_limit.go
+2
-2
plumbing/object/commit_walker_path.go
+2
-2
plumbing/object/commit_walker_path.go
+1
-1
plumbing/object/commit_walker_test.go
+1
-1
plumbing/object/commit_walker_test.go
+3
-3
plumbing/object/commitgraph/commitnode.go
+3
-3
plumbing/object/commitgraph/commitnode.go
+4
-4
plumbing/object/commitgraph/commitnode_graph.go
+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
+3
-3
plumbing/object/commitgraph/commitnode_object.go
+5
-5
plumbing/object/commitgraph/commitnode_test.go
+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
+2
-2
plumbing/object/commitgraph/commitnode_walker_ctime.go
+2
-2
plumbing/object/difftree.go
+2
-2
plumbing/object/difftree.go
+8
-8
plumbing/object/difftree_test.go
+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
+4
-4
plumbing/object/file.go
+5
-5
plumbing/object/file_test.go
+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
+2
-2
plumbing/object/merge_base.go
+3
-3
plumbing/object/merge_base_test.go
+3
-3
plumbing/object/merge_base_test.go
+2
-2
plumbing/object/object.go
+2
-2
plumbing/object/object.go
+5
-5
plumbing/object/object_test.go
+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
+4
-4
plumbing/object/patch.go
+3
-3
plumbing/object/patch_test.go
+3
-3
plumbing/object/patch_test.go
+3
-3
plumbing/object/tag.go
+3
-3
plumbing/object/tag.go
+4
-4
plumbing/object/tag_test.go
+4
-4
plumbing/object/tag_test.go
+4
-4
plumbing/object/tree.go
+4
-4
plumbing/object/tree.go
+5
-5
plumbing/object/tree_test.go
+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
-3
plumbing/object/treenoder.go
+4
-4
plumbing/protocol/packp/advrefs.go
+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
+2
-2
plumbing/protocol/packp/advrefs_decode.go
+3
-3
plumbing/protocol/packp/advrefs_decode_test.go
+3
-3
plumbing/protocol/packp/advrefs_decode_test.go
+3
-3
plumbing/protocol/packp/advrefs_encode.go
+3
-3
plumbing/protocol/packp/advrefs_encode.go
+3
-3
plumbing/protocol/packp/advrefs_encode_test.go
+3
-3
plumbing/protocol/packp/advrefs_encode_test.go
+3
-3
plumbing/protocol/packp/advrefs_test.go
+3
-3
plumbing/protocol/packp/advrefs_test.go
+1
-1
plumbing/protocol/packp/common_test.go
+1
-1
plumbing/protocol/packp/common_test.go
+2
-2
plumbing/protocol/packp/report_status.go
+2
-2
plumbing/protocol/packp/report_status.go
+2
-2
plumbing/protocol/packp/report_status_test.go
+2
-2
plumbing/protocol/packp/report_status_test.go
+2
-2
plumbing/protocol/packp/shallowupd.go
+2
-2
plumbing/protocol/packp/shallowupd.go
+1
-1
plumbing/protocol/packp/shallowupd_test.go
+1
-1
plumbing/protocol/packp/shallowupd_test.go
+1
-1
plumbing/protocol/packp/sideband/demux.go
+1
-1
plumbing/protocol/packp/sideband/demux.go
+1
-1
plumbing/protocol/packp/sideband/demux_test.go
+1
-1
plumbing/protocol/packp/sideband/demux_test.go
+1
-1
plumbing/protocol/packp/sideband/muxer.go
+1
-1
plumbing/protocol/packp/sideband/muxer.go
+2
-2
plumbing/protocol/packp/srvresp.go
+2
-2
plumbing/protocol/packp/srvresp.go
+1
-1
plumbing/protocol/packp/srvresp_test.go
+1
-1
plumbing/protocol/packp/srvresp_test.go
+2
-2
plumbing/protocol/packp/ulreq.go
+2
-2
plumbing/protocol/packp/ulreq.go
+2
-2
plumbing/protocol/packp/ulreq_decode.go
+2
-2
plumbing/protocol/packp/ulreq_decode.go
+3
-3
plumbing/protocol/packp/ulreq_decode_test.go
+3
-3
plumbing/protocol/packp/ulreq_decode_test.go
+2
-2
plumbing/protocol/packp/ulreq_encode.go
+2
-2
plumbing/protocol/packp/ulreq_encode.go
+3
-3
plumbing/protocol/packp/ulreq_encode_test.go
+3
-3
plumbing/protocol/packp/ulreq_encode_test.go
+3
-3
plumbing/protocol/packp/ulreq_test.go
+3
-3
plumbing/protocol/packp/ulreq_test.go
+3
-3
plumbing/protocol/packp/updreq.go
+3
-3
plumbing/protocol/packp/updreq.go
+2
-2
plumbing/protocol/packp/updreq_decode.go
+2
-2
plumbing/protocol/packp/updreq_decode.go
+2
-2
plumbing/protocol/packp/updreq_decode_test.go
+2
-2
plumbing/protocol/packp/updreq_decode_test.go
+3
-3
plumbing/protocol/packp/updreq_encode.go
+3
-3
plumbing/protocol/packp/updreq_encode.go
+2
-2
plumbing/protocol/packp/updreq_encode_test.go
+2
-2
plumbing/protocol/packp/updreq_encode_test.go
+1
-1
plumbing/protocol/packp/updreq_test.go
+1
-1
plumbing/protocol/packp/updreq_test.go
+3
-3
plumbing/protocol/packp/uppackreq.go
+3
-3
plumbing/protocol/packp/uppackreq.go
+2
-2
plumbing/protocol/packp/uppackreq_test.go
+2
-2
plumbing/protocol/packp/uppackreq_test.go
+2
-2
plumbing/protocol/packp/uppackresp.go
+2
-2
plumbing/protocol/packp/uppackresp.go
+2
-2
plumbing/protocol/packp/uppackresp_test.go
+2
-2
plumbing/protocol/packp/uppackresp_test.go
+4
-4
plumbing/revlist/revlist.go
+4
-4
plumbing/revlist/revlist.go
···
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
+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
-1
plumbing/storer/index.go
+1
-1
plumbing/storer/object.go
+1
-1
plumbing/storer/object.go
+1
-1
plumbing/storer/object_test.go
+1
-1
plumbing/storer/object_test.go
+1
-1
plumbing/storer/reference.go
+1
-1
plumbing/storer/reference.go
+1
-1
plumbing/storer/reference_test.go
+1
-1
plumbing/storer/reference_test.go
+1
-1
plumbing/storer/shallow.go
+1
-1
plumbing/storer/shallow.go
+5
-5
plumbing/transport/client/client.go
+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
+1
-1
plumbing/transport/client/client_test.go
+2
-2
plumbing/transport/client/example_test.go
+2
-2
plumbing/transport/client/example_test.go
+4
-4
plumbing/transport/common.go
+4
-4
plumbing/transport/common.go
+1
-1
plumbing/transport/common_test.go
+1
-1
plumbing/transport/common_test.go
+2
-2
plumbing/transport/file/client.go
+2
-2
plumbing/transport/file/client.go
+1
-1
plumbing/transport/file/client_test.go
+1
-1
plumbing/transport/file/client_test.go
+1
-1
plumbing/transport/file/receive_pack_test.go
+1
-1
plumbing/transport/file/receive_pack_test.go
+4
-4
plumbing/transport/file/server.go
+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
+2
-2
plumbing/transport/file/upload_pack_test.go
+4
-4
plumbing/transport/git/common.go
+4
-4
plumbing/transport/git/common.go
···
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
+1
-1
plumbing/transport/git/common_test.go
+1
-1
plumbing/transport/git/receive_pack_test.go
+1
-1
plumbing/transport/git/receive_pack_test.go
+1
-1
plumbing/transport/git/upload_pack_test.go
+1
-1
plumbing/transport/git/upload_pack_test.go
+4
-4
plumbing/transport/http/common.go
+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
+1
-1
plumbing/transport/http/common_test.go
+6
-6
plumbing/transport/http/receive_pack.go
+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
-1
plumbing/transport/http/receive_pack_test.go
+6
-6
plumbing/transport/http/upload_pack.go
+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
+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
+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
+3
-3
plumbing/transport/internal/common/server.go
+6
-6
plumbing/transport/server/loader.go
+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
+2
-2
plumbing/transport/server/loader_test.go
+1
-1
plumbing/transport/server/receive_pack_test.go
+1
-1
plumbing/transport/server/receive_pack_test.go
+8
-8
plumbing/transport/server/server.go
+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
+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
-1
plumbing/transport/server/upload_pack_test.go
+1
-1
plumbing/transport/ssh/auth_method.go
+1
-1
plumbing/transport/ssh/auth_method.go
+2
-2
plumbing/transport/ssh/common.go
+2
-2
plumbing/transport/ssh/common.go
+1
-1
plumbing/transport/ssh/common_test.go
+1
-1
plumbing/transport/ssh/common_test.go
+2
-2
plumbing/transport/ssh/upload_pack_test.go
+2
-2
plumbing/transport/ssh/upload_pack_test.go
+6
-6
plumbing/transport/test/receive_pack.go
+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
+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
+2
-2
prune.go
+5
-5
prune_test.go
+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
+3
-3
references.go
+3
-3
references_test.go
+3
-3
references_test.go
+17
-17
remote.go
+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
+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
+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
+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
+3
-3
storage/filesystem/config.go
+3
-3
storage/filesystem/config_test.go
+3
-3
storage/filesystem/config_test.go
+1
-1
storage/filesystem/deltaobject.go
+1
-1
storage/filesystem/deltaobject.go
+5
-5
storage/filesystem/dotgit/dotgit.go
+5
-5
storage/filesystem/dotgit/dotgit.go
+2
-2
storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go
+2
-2
storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go
+3
-3
storage/filesystem/dotgit/dotgit_setref.go
+3
-3
storage/filesystem/dotgit/dotgit_setref.go
+3
-3
storage/filesystem/dotgit/dotgit_test.go
+3
-3
storage/filesystem/dotgit/dotgit_test.go
+5
-5
storage/filesystem/dotgit/writers.go
+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
+4
-4
storage/filesystem/dotgit/writers_test.go
···
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
+3
-3
storage/filesystem/index.go
+3
-3
storage/filesystem/module.go
+3
-3
storage/filesystem/module.go
+9
-9
storage/filesystem/object.go
+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
+3
-3
storage/filesystem/object_test.go
+3
-3
storage/filesystem/reference.go
+3
-3
storage/filesystem/reference.go
+3
-3
storage/filesystem/shallow.go
+3
-3
storage/filesystem/shallow.go
+3
-3
storage/filesystem/storage.go
+3
-3
storage/filesystem/storage.go
+5
-5
storage/filesystem/storage_test.go
+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
-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
+1
-1
storage/memory/storage_test.go
+3
-3
storage/storer.go
+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
+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
-1
storage/transactional/config.go
+2
-2
storage/transactional/config_test.go
+2
-2
storage/transactional/config_test.go
+2
-2
storage/transactional/index.go
+2
-2
storage/transactional/index.go
+2
-2
storage/transactional/index_test.go
+2
-2
storage/transactional/index_test.go
+2
-2
storage/transactional/object.go
+2
-2
storage/transactional/object.go
+2
-2
storage/transactional/object_test.go
+2
-2
storage/transactional/object_test.go
+3
-3
storage/transactional/reference.go
+3
-3
storage/transactional/reference.go
+2
-2
storage/transactional/reference_test.go
+2
-2
storage/transactional/reference_test.go
+2
-2
storage/transactional/shallow.go
+2
-2
storage/transactional/shallow.go
+2
-2
storage/transactional/shallow_test.go
+2
-2
storage/transactional/shallow_test.go
+2
-2
storage/transactional/storage.go
+2
-2
storage/transactional/storage.go
+8
-8
storage/transactional/storage_test.go
+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
+4
-4
submodule.go
+1
-1
submodule_test.go
+1
-1
submodule_test.go
+1
-1
utils/binary/read.go
+1
-1
utils/binary/read.go
+1
-1
utils/binary/read_test.go
+1
-1
utils/binary/read_test.go
+1
-1
utils/diff/diff_ext_test.go
+1
-1
utils/diff/diff_ext_test.go
+1
-1
utils/merkletrie/change.go
+1
-1
utils/merkletrie/change.go
+3
-3
utils/merkletrie/change_test.go
+3
-3
utils/merkletrie/change_test.go
+1
-1
utils/merkletrie/difftree.go
+1
-1
utils/merkletrie/difftree.go
+2
-2
utils/merkletrie/difftree_test.go
+2
-2
utils/merkletrie/difftree_test.go
+1
-1
utils/merkletrie/doubleiter.go
+1
-1
utils/merkletrie/doubleiter.go
+4
-4
utils/merkletrie/filesystem/node.go
+4
-4
utils/merkletrie/filesystem/node.go
+5
-5
utils/merkletrie/filesystem/node_test.go
+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
+2
-2
utils/merkletrie/index/node.go
+4
-4
utils/merkletrie/index/node_test.go
+4
-4
utils/merkletrie/index/node_test.go
···
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
+1
-1
utils/merkletrie/internal/frame/frame.go
+2
-2
utils/merkletrie/internal/frame/frame_test.go
+2
-2
utils/merkletrie/internal/frame/frame_test.go
+1
-1
utils/merkletrie/internal/fsnoder/dir.go
+1
-1
utils/merkletrie/internal/fsnoder/dir.go
+1
-1
utils/merkletrie/internal/fsnoder/dir_test.go
+1
-1
utils/merkletrie/internal/fsnoder/dir_test.go
+1
-1
utils/merkletrie/internal/fsnoder/file.go
+1
-1
utils/merkletrie/internal/fsnoder/file.go
+1
-1
utils/merkletrie/internal/fsnoder/file_test.go
+1
-1
utils/merkletrie/internal/fsnoder/file_test.go
+1
-1
utils/merkletrie/internal/fsnoder/new.go
+1
-1
utils/merkletrie/internal/fsnoder/new.go
+1
-1
utils/merkletrie/internal/fsnoder/new_test.go
+1
-1
utils/merkletrie/internal/fsnoder/new_test.go
+2
-2
utils/merkletrie/iter.go
+2
-2
utils/merkletrie/iter.go
+3
-3
utils/merkletrie/iter_test.go
+3
-3
utils/merkletrie/iter_test.go
+11
-11
worktree.go
+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
+1
-1
worktree_bsd.go
+6
-6
worktree_commit.go
+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
+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
+1
-1
worktree_linux.go
+1
-1
worktree_plan9.go
+1
-1
worktree_plan9.go
+11
-11
worktree_status.go
+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
+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
+1
-1
worktree_unix_other.go