From 45a3fa1f5244dd39f86a7c0ecc3d2671d38ca997 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 8 Mar 2025 20:26:42 +0800 Subject: *: Downgrade go-git from main to v5.14.0 Commit bb5c35196ee55b82f6506d69257de0e59cd8c41d from the main branch of go-git causes ridiculous amounts of CPU and RAM usage with tree.Size() for large repos like asahi-linux.git. References: https://github.com/go-git/go-git/issues/1451 --- go.mod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 450fc48..708f80d 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/alecthomas/chroma/v2 v2.15.0 github.com/alexedwards/argon2id v1.0.0 github.com/gliderlabs/ssh v0.3.8 - github.com/go-git/go-git/v5 v5.12.1-0.20250306131248-f7eb53c2ef7e + github.com/go-git/go-git/v5 v5.14.0 github.com/jackc/pgx/v5 v5.7.2 github.com/microcosm-cc/bluemonday v1.0.27 github.com/niklasfasching/go-org v1.7.0 @@ -33,10 +33,13 @@ require ( github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect github.com/jackc/puddle/v2 v2.2.2 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/pjbgf/sha1cd v0.3.2 // indirect github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.3.1 // indirect github.com/tdewolff/parse/v2 v2.7.20 // indirect + github.com/xanzy/ssh-agent v0.3.3 // indirect golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect golang.org/x/net v0.37.0 // indirect golang.org/x/sync v0.12.0 // indirect -- cgit v1.2.3