diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-12-19 09:18:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 09:18:42 +0800 |
commit | 11f0519ad852809d842e3382595579d8f3ffbc87 (patch) | |
tree | 307c08a08fd572f8db5dd58e8813f9914a1d988b /modules | |
parent | cd2ff6e83dba82e7d810b68bba79242a98ea8248 (diff) | |
download | gitea-11f0519ad852809d842e3382595579d8f3ffbc87.tar.gz gitea-11f0519ad852809d842e3382595579d8f3ffbc87.zip |
Update go dependencies (#28518)
Update golang.org/x/crypto for CVE-2023-48795 and update other packages.
`go-git` is not updated because it needs time to figure out why some
tests fail.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/git/repo_commitgraph_gogit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_commitgraph_gogit.go b/modules/git/repo_commitgraph_gogit.go index 8e92c30e54..c2d741daae 100644 --- a/modules/git/repo_commitgraph_gogit.go +++ b/modules/git/repo_commitgraph_gogit.go @@ -22,7 +22,7 @@ func (r *Repository) CommitNodeIndex() (cgobject.CommitNodeIndex, *os.File) { file, err := os.Open(indexPath) if err == nil { - var index commitgraph.Index + var index commitgraph.Index // TODO: in newer go-git, it might need to use "github.com/go-git/go-git/v5/plumbing/format/commitgraph/v2" package to compile index, err = commitgraph.OpenFileIndex(file) if err == nil { return cgobject.NewGraphCommitNodeIndex(index, r.gogitRepo.Storer), file |