From c157111bfe0bc409dc36440477ab41b4f9d36e62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Feb 2023 19:07:46 +0000 Subject: [PATCH] build(deps): bump github.com/gogs/git-module from 1.8.0 to 1.8.1 Bumps [github.com/gogs/git-module](https://github.com/gogs/git-module) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/gogs/git-module/releases) - [Commits](https://github.com/gogs/git-module/compare/v1.8.0...v1.8.1) --- updated-dependencies: - dependency-name: github.com/gogs/git-module dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/gogs/git-module/tree_entry.go | 4 ++-- vendor/modules.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 5c27c4c..8ee6c68 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/sermojohn/gitmono go 1.17 require ( - github.com/gogs/git-module v1.8.0 + github.com/gogs/git-module v1.8.1 github.com/google/go-cmdtest v0.4.0 github.com/hashicorp/go-version v1.6.0 github.com/jessevdk/go-flags v1.5.0 diff --git a/go.sum b/go.sum index 9fc2c1d..8c3009b 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/gogs/git-module v1.8.0 h1:IecGCQ0kCm0c7SFwUYcLXtfCbUb8V3Z6KJA0+WQMzms= -github.com/gogs/git-module v1.8.0/go.mod h1:Y3rsSqtFZEbn7lp+3gWf42GKIY1eNTtLt7JrmOy0yAQ= +github.com/gogs/git-module v1.8.1 h1:yC5BZ3unJOXC8N6/FgGQ8EtJXpOd217lgDcd2aPOxkc= +github.com/gogs/git-module v1.8.1/go.mod h1:Y3rsSqtFZEbn7lp+3gWf42GKIY1eNTtLt7JrmOy0yAQ= github.com/google/go-cmdtest v0.4.0 h1:ToXh6W5spLp3npJV92tk6d5hIpUPYEzHLkD+rncbyhI= github.com/google/go-cmdtest v0.4.0/go.mod h1:apVn/GCasLZUVpAJ6oWAuyP7Ne7CEsQbTnc0plM3m+o= github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg= diff --git a/vendor/github.com/gogs/git-module/tree_entry.go b/vendor/github.com/gogs/git-module/tree_entry.go index cac8764..8fdf251 100644 --- a/vendor/github.com/gogs/git-module/tree_entry.go +++ b/vendor/github.com/gogs/git-module/tree_entry.go @@ -243,10 +243,10 @@ func (es Entries) CommitsInfo(commit *Commit, opts ...CommitsInfoOptions) ([]*En // Get extra information for submodules if e.IsCommit() { + // Be tolerant to implicit submodules info.Submodule, err = commit.Submodule(epath) if err != nil { - setError(fmt.Errorf("get submodule %q: %v", epath, err)) - return + info.Submodule = &Submodule{Name: epath} } } diff --git a/vendor/modules.txt b/vendor/modules.txt index aa770bc..050b74f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,7 +1,7 @@ # github.com/davecgh/go-spew v1.1.1 ## explicit github.com/davecgh/go-spew/spew -# github.com/gogs/git-module v1.8.0 +# github.com/gogs/git-module v1.8.1 ## explicit; go 1.16 github.com/gogs/git-module # github.com/google/go-cmdtest v0.4.0