Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 7a77bde

Browse files
committed
Merge branch 'master' of github.com:src-d/go-git into annotated
2 parents 0b7d3fe + 345ffd9 commit 7a77bde

File tree

113 files changed

+6283
-1873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+6283
-1873
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: go
22

33
go:
4-
- 1.9.x
54
- "1.10"
5+
- "1.11"
66

77
go_import_path: gopkg.in/src-d/go-git.v4
88

_examples/branch/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func main() {
2828

2929
// Create a new plumbing.HashReference object with the name of the branch
3030
// and the hash from the HEAD. The reference name should be a full reference
31-
// name and now a abbreviated one, as is used on the git cli.
31+
// name and not an abbreviated one, as is used on the git cli.
3232
//
3333
// For tags we should use `refs/tags/%s` instead of `refs/heads/%s` used
3434
// for branches.

common_test.go

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"testing"
55

66
"gopkg.in/src-d/go-git.v4/plumbing"
7+
"gopkg.in/src-d/go-git.v4/plumbing/cache"
78
"gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
89
"gopkg.in/src-d/go-git.v4/plumbing/transport"
910
"gopkg.in/src-d/go-git.v4/storage/filesystem"
@@ -59,10 +60,7 @@ func (s *BaseSuite) NewRepository(f *fixtures.Fixture) *Repository {
5960
dotgit = f.DotGit()
6061
worktree = memfs.New()
6162

62-
st, err := filesystem.NewStorage(dotgit)
63-
if err != nil {
64-
panic(err)
65-
}
63+
st := filesystem.NewStorage(dotgit, cache.NewObjectLRUDefault())
6664

6765
r, err := Open(st, worktree)
6866
if err != nil {
@@ -89,10 +87,7 @@ func (s *BaseSuite) NewRepositoryWithEmptyWorktree(f *fixtures.Fixture) *Reposit
8987

9088
worktree := memfs.New()
9189

92-
st, err := filesystem.NewStorage(dotgit)
93-
if err != nil {
94-
panic(err)
95-
}
90+
st := filesystem.NewStorage(dotgit, cache.NewObjectLRUDefault())
9691

9792
r, err := Open(st, worktree)
9893
if err != nil {
@@ -113,14 +108,7 @@ func (s *BaseSuite) NewRepositoryFromPackfile(f *fixtures.Fixture) *Repository {
113108
p := f.Packfile()
114109
defer p.Close()
115110

116-
n := packfile.NewScanner(p)
117-
d, err := packfile.NewDecoder(n, storer)
118-
if err != nil {
119-
panic(err)
120-
}
121-
122-
_, err = d.Decode()
123-
if err != nil {
111+
if err := packfile.UpdateObjectStorage(storer, p); err != nil {
124112
panic(err)
125113
}
126114

config/config.go

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ type Config struct {
4040
IsBare bool
4141
// Worktree is the path to the root of the working tree.
4242
Worktree string
43+
// CommentChar is the character indicating the start of a
44+
// comment for commands like commit and tag
45+
CommentChar string
4346
}
4447

4548
Pack struct {
@@ -113,6 +116,7 @@ const (
113116
urlKey = "url"
114117
bareKey = "bare"
115118
worktreeKey = "worktree"
119+
commentCharKey = "commentChar"
116120
windowKey = "window"
117121
mergeKey = "merge"
118122

@@ -135,7 +139,7 @@ func (c *Config) Unmarshal(b []byte) error {
135139
if err := c.unmarshalPack(); err != nil {
136140
return err
137141
}
138-
c.unmarshalSubmodules()
142+
unmarshalSubmodules(c.Raw, c.Submodules)
139143

140144
if err := c.unmarshalBranches(); err != nil {
141145
return err
@@ -151,6 +155,7 @@ func (c *Config) unmarshalCore() {
151155
}
152156

153157
c.Core.Worktree = s.Options.Get(worktreeKey)
158+
c.Core.CommentChar = s.Options.Get(commentCharKey)
154159
}
155160

156161
func (c *Config) unmarshalPack() error {
@@ -182,13 +187,17 @@ func (c *Config) unmarshalRemotes() error {
182187
return nil
183188
}
184189

185-
func (c *Config) unmarshalSubmodules() {
186-
s := c.Raw.Section(submoduleSection)
190+
func unmarshalSubmodules(fc *format.Config, submodules map[string]*Submodule) {
191+
s := fc.Section(submoduleSection)
187192
for _, sub := range s.Subsections {
188193
m := &Submodule{}
189194
m.unmarshal(sub)
190195

191-
c.Submodules[m.Name] = m
196+
if m.Validate() == ErrModuleBadPath {
197+
continue
198+
}
199+
200+
submodules[m.Name] = m
192201
}
193202
}
194203

config/config_test.go

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ func (s *ConfigSuite) TestUnmarshall(c *C) {
1313
input := []byte(`[core]
1414
bare = true
1515
worktree = foo
16+
commentchar = bar
1617
[pack]
1718
window = 20
1819
[remote "origin"]
@@ -23,6 +24,8 @@ func (s *ConfigSuite) TestUnmarshall(c *C) {
2324
url = [email protected]:src-d/go-git.git
2425
fetch = +refs/heads/*:refs/remotes/origin/*
2526
fetch = +refs/pull/*:refs/remotes/origin/pull/*
27+
[remote "win-local"]
28+
url = X:\\Git\\
2629
[submodule "qux"]
2730
path = qux
2831
url = https://github.com/foo/qux.git
@@ -38,14 +41,17 @@ func (s *ConfigSuite) TestUnmarshall(c *C) {
3841

3942
c.Assert(cfg.Core.IsBare, Equals, true)
4043
c.Assert(cfg.Core.Worktree, Equals, "foo")
44+
c.Assert(cfg.Core.CommentChar, Equals, "bar")
4145
c.Assert(cfg.Pack.Window, Equals, uint(20))
42-
c.Assert(cfg.Remotes, HasLen, 2)
46+
c.Assert(cfg.Remotes, HasLen, 3)
4347
c.Assert(cfg.Remotes["origin"].Name, Equals, "origin")
4448
c.Assert(cfg.Remotes["origin"].URLs, DeepEquals, []string{"[email protected]:mcuadros/go-git.git"})
4549
c.Assert(cfg.Remotes["origin"].Fetch, DeepEquals, []RefSpec{"+refs/heads/*:refs/remotes/origin/*"})
4650
c.Assert(cfg.Remotes["alt"].Name, Equals, "alt")
4751
c.Assert(cfg.Remotes["alt"].URLs, DeepEquals, []string{"[email protected]:mcuadros/go-git.git", "[email protected]:src-d/go-git.git"})
4852
c.Assert(cfg.Remotes["alt"].Fetch, DeepEquals, []RefSpec{"+refs/heads/*:refs/remotes/origin/*", "+refs/pull/*:refs/remotes/origin/pull/*"})
53+
c.Assert(cfg.Remotes["win-local"].Name, Equals, "win-local")
54+
c.Assert(cfg.Remotes["win-local"].URLs, DeepEquals, []string{"X:\\Git\\"})
4955
c.Assert(cfg.Submodules, HasLen, 1)
5056
c.Assert(cfg.Submodules["qux"].Name, Equals, "qux")
5157
c.Assert(cfg.Submodules["qux"].URL, Equals, "https://github.com/foo/qux.git")
@@ -67,6 +73,8 @@ func (s *ConfigSuite) TestMarshall(c *C) {
6773
fetch = +refs/pull/*:refs/remotes/origin/pull/*
6874
[remote "origin"]
6975
url = [email protected]:mcuadros/go-git.git
76+
[remote "win-local"]
77+
url = "X:\\Git\\"
7078
[submodule "qux"]
7179
url = https://github.com/foo/qux.git
7280
[branch "master"]
@@ -89,6 +97,11 @@ func (s *ConfigSuite) TestMarshall(c *C) {
8997
Fetch: []RefSpec{"+refs/heads/*:refs/remotes/origin/*", "+refs/pull/*:refs/remotes/origin/pull/*"},
9098
}
9199

100+
cfg.Remotes["win-local"] = &RemoteConfig{
101+
Name: "win-local",
102+
URLs: []string{"X:\\Git\\"},
103+
}
104+
92105
cfg.Submodules["qux"] = &Submodule{
93106
Name: "qux",
94107
URL: "https://github.com/foo/qux.git",
@@ -117,6 +130,8 @@ func (s *ConfigSuite) TestUnmarshallMarshall(c *C) {
117130
url = [email protected]:mcuadros/go-git.git
118131
fetch = +refs/heads/*:refs/remotes/origin/*
119132
mirror = true
133+
[remote "win-local"]
134+
url = "X:\\Git\\"
120135
[branch "master"]
121136
remote = origin
122137
merge = refs/heads/master

config/modules.go

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@ package config
33
import (
44
"bytes"
55
"errors"
6+
"regexp"
67

78
format "gopkg.in/src-d/go-git.v4/plumbing/format/config"
89
)
910

1011
var (
1112
ErrModuleEmptyURL = errors.New("module config: empty URL")
1213
ErrModuleEmptyPath = errors.New("module config: empty path")
14+
ErrModuleBadPath = errors.New("submodule has an invalid path")
15+
)
16+
17+
var (
18+
// Matches module paths with dotdot ".." components.
19+
dotdotPath = regexp.MustCompile(`(^|[/\\])\.\.([/\\]|$)`)
1320
)
1421

1522
// Modules defines the submodules properties, represents a .gitmodules file
@@ -44,14 +51,7 @@ func (m *Modules) Unmarshal(b []byte) error {
4451
return err
4552
}
4653

47-
s := m.raw.Section(submoduleSection)
48-
for _, sub := range s.Subsections {
49-
mod := &Submodule{}
50-
mod.unmarshal(sub)
51-
52-
m.Submodules[mod.Path] = mod
53-
}
54-
54+
unmarshalSubmodules(m.raw, m.Submodules)
5555
return nil
5656
}
5757

@@ -102,6 +102,10 @@ func (m *Submodule) Validate() error {
102102
return ErrModuleEmptyURL
103103
}
104104

105+
if dotdotPath.MatchString(m.Path) {
106+
return ErrModuleBadPath
107+
}
108+
105109
return nil
106110
}
107111

config/modules_test.go

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,29 @@ func (s *ModulesSuite) TestValidateMissingURL(c *C) {
1111
c.Assert(m.Validate(), Equals, ErrModuleEmptyURL)
1212
}
1313

14+
func (s *ModulesSuite) TestValidateBadPath(c *C) {
15+
input := []string{
16+
`..`,
17+
`../`,
18+
`../bar`,
19+
20+
`/..`,
21+
`/../bar`,
22+
23+
`foo/..`,
24+
`foo/../`,
25+
`foo/../bar`,
26+
}
27+
28+
for _, p := range input {
29+
m := &Submodule{
30+
Path: p,
31+
URL: "https://example.com/",
32+
}
33+
c.Assert(m.Validate(), Equals, ErrModuleBadPath)
34+
}
35+
}
36+
1437
func (s *ModulesSuite) TestValidateMissingName(c *C) {
1538
m := &Submodule{URL: "bar"}
1639
c.Assert(m.Validate(), Equals, ErrModuleEmptyPath)
@@ -39,6 +62,9 @@ func (s *ModulesSuite) TestUnmarshall(c *C) {
3962
path = foo/bar
4063
url = https://github.com/foo/bar.git
4164
branch = dev
65+
[submodule "suspicious"]
66+
path = ../../foo/bar
67+
url = https://github.com/foo/bar.git
4268
`)
4369

4470
cfg := NewModules()

config/refspec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515

1616
var (
1717
ErrRefSpecMalformedSeparator = errors.New("malformed refspec, separators are wrong")
18-
ErrRefSpecMalformedWildcard = errors.New("malformed refspec, missmatched number of wildcards")
18+
ErrRefSpecMalformedWildcard = errors.New("malformed refspec, mismatched number of wildcards")
1919
)
2020

2121
// RefSpec is a mapping from local branches to remote references

go.mod

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module gopkg.in/src-d/go-git.v4
2+
3+
require (
4+
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 // indirect
5+
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 // indirect
6+
github.com/davecgh/go-spew v1.1.1 // indirect
7+
github.com/emirpasic/gods v1.9.0
8+
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect
9+
github.com/gliderlabs/ssh v0.1.1
10+
github.com/google/go-cmp v0.2.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-20180830205328-81db2a75821e
14+
github.com/mitchellh/go-homedir v1.0.0
15+
github.com/pelletier/go-buffruneio v0.2.0 // indirect
16+
github.com/pkg/errors v0.8.0 // indirect
17+
github.com/pmezard/go-difflib v1.0.0 // indirect
18+
github.com/sergi/go-diff v1.0.0
19+
github.com/src-d/gcfg v1.3.0
20+
github.com/stretchr/testify v1.2.2 // indirect
21+
github.com/xanzy/ssh-agent v0.2.0
22+
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793
23+
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd // indirect
24+
golang.org/x/text v0.3.0
25+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
26+
gopkg.in/src-d/go-billy.v4 v4.2.1
27+
gopkg.in/src-d/go-git-fixtures.v3 v3.1.1
28+
gopkg.in/warnings.v0 v0.1.2 // indirect
29+
)

go.sum

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs=
2+
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs=
3+
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=
4+
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
5+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
6+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
7+
github.com/emirpasic/gods v1.9.0 h1:rUF4PuzEjMChMiNsVjdI+SyLu7rEqpQ5reNFnhC7oFo=
8+
github.com/emirpasic/gods v1.9.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o=
9+
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=
10+
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
11+
github.com/gliderlabs/ssh v0.1.1 h1:j3L6gSLQalDETeEg/Jg0mGY0/y/N6zI2xX1978P0Uqw=
12+
github.com/gliderlabs/ssh v0.1.1/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
13+
github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ=
14+
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
15+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
16+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
17+
github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA=
18+
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
19+
github.com/kevinburke/ssh_config v0.0.0-20180830205328-81db2a75821e h1:RgQk53JHp/Cjunrr1WlsXSZpqXn+uREuHvUVcK82CV8=
20+
github.com/kevinburke/ssh_config v0.0.0-20180830205328-81db2a75821e/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
21+
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
22+
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
23+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
24+
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
25+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
26+
github.com/mitchellh/go-homedir v1.0.0 h1:vKb8ShqSby24Yrqr/yDYkuFz8d0WUjys40rvnGC8aR0=
27+
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
28+
github.com/pelletier/go-buffruneio v0.2.0 h1:U4t4R6YkofJ5xHm3dJzuRpPZ0mr5MMCoAWooScCR7aA=
29+
github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo=
30+
github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
31+
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
32+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
33+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
34+
github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=
35+
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
36+
github.com/src-d/gcfg v1.3.0 h1:2BEDr8r0I0b8h/fOqwtxCEiq2HJu8n2JGZJQFGXWLjg=
37+
github.com/src-d/gcfg v1.3.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI=
38+
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
39+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
40+
github.com/xanzy/ssh-agent v0.2.0 h1:Adglfbi5p9Z0BmK2oKU9nTG+zKfniSfnaMYB+ULd+Ro=
41+
github.com/xanzy/ssh-agent v0.2.0/go.mod h1:0NyE30eGUDliuLEHJgYte/zncp2zdTStcOnWhgSqHD8=
42+
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793 h1:u+LnwYTOOW7Ukr/fppxEb1Nwz0AtPflrblfvUudpo+I=
43+
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
44+
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd h1:nTDtHvHSdCn1m6ITfMRqtOd/9+7a3s8RBNOZ3eYZzJA=
45+
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
46+
golang.org/x/sys v0.0.0-20180903190138-2b024373dcd9 h1:lkiLiLBHGoH3XnqSLUIaBsilGMUjI+Uy2Xu2JLUtTas=
47+
golang.org/x/sys v0.0.0-20180903190138-2b024373dcd9/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
48+
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
49+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
50+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
51+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
52+
gopkg.in/src-d/go-billy.v4 v4.2.1 h1:omN5CrMrMcQ+4I8bJ0wEhOBPanIRWzFC953IiXKdYzo=
53+
gopkg.in/src-d/go-billy.v4 v4.2.1/go.mod h1:tm33zBoOwxjYHZIE+OV8bxTWFMJLrconzFMd38aARFk=
54+
gopkg.in/src-d/go-git-fixtures.v3 v3.1.1 h1:XWW/s5W18RaJpmo1l0IYGqXKuJITWRFuA45iOf1dKJs=
55+
gopkg.in/src-d/go-git-fixtures.v3 v3.1.1/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g=
56+
gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
57+
gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=

0 commit comments

Comments
 (0)