From 2d0ea5ba085f9caa84a7e7b1fd55f653834009aa Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 20:37:03 +0800 Subject: sshPubkey* shall no longer be global variables --- http_handle_repo_commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http_handle_repo_commit.go') diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go index 02121a2..a398dc2 100644 --- a/http_handle_repo_commit.go +++ b/http_handle_repo_commit.go @@ -99,7 +99,7 @@ func (f fakeDiffFile) Path() string { return f.path } -var nullFakeDiffFile = fakeDiffFile{ +var nullFakeDiffFile = fakeDiffFile{ //nolint:gochecknoglobals hash: plumbing.NewHash("0000000000000000000000000000000000000000"), mode: misc.FirstOrPanic(filemode.New("100644")), path: "", -- cgit v1.2.3