summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-12-19 09:18:42 +0800
committerGitHub <noreply@github.com>2023-12-19 09:18:42 +0800
commit11f0519ad852809d842e3382595579d8f3ffbc87 (patch)
tree307c08a08fd572f8db5dd58e8813f9914a1d988b /modules
parentcd2ff6e83dba82e7d810b68bba79242a98ea8248 (diff)
downloadgitea-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.go2
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