aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_commit.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-05 20:37:03 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-05 20:37:03 +0800
commit2d0ea5ba085f9caa84a7e7b1fd55f653834009aa (patch)
tree46278813d2e2f7dd080c9289321c1021fa619e80 /http_handle_repo_commit.go
parentircSend* shall no longer be global variables (diff)
downloadforge-2d0ea5ba085f9caa84a7e7b1fd55f653834009aa.tar.gz
forge-2d0ea5ba085f9caa84a7e7b1fd55f653834009aa.tar.zst
forge-2d0ea5ba085f9caa84a7e7b1fd55f653834009aa.zip
sshPubkey* shall no longer be global variables
Diffstat (limited to 'http_handle_repo_commit.go')
-rw-r--r--http_handle_repo_commit.go2
1 files changed, 1 insertions, 1 deletions
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: "",