summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAntonin Delpeuch <antonin@delpeuch.eu>2024-04-11 14:13:36 +0200
committerAntonin Delpeuch <antonin@delpeuch.eu>2024-04-11 17:16:26 +0200
commit592c20c7d44cc42a86527a23d961e9d6e4fcae40 (patch)
treed6aa4b1e8ffb230493822908e4a08bb0118aaabf /cmd
parentUpdate golangci-lint to 1.57.2 (diff)
downloadforgejo-592c20c7d44cc42a86527a23d961e9d6e4fcae40.tar.xz
forgejo-592c20c7d44cc42a86527a23d961e9d6e4fcae40.zip
Fix spelling mistakes caught by golangci-lint
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hook.go b/cmd/hook.go
index 04df7ce18c..81955e753b 100644
--- a/cmd/hook.go
+++ b/cmd/hook.go
@@ -782,7 +782,7 @@ func writeFlushPktLine(ctx context.Context, out io.Writer) error {
return nil
}
-// Write an Pkt-Line based on `data` to `out` according to the specifcation.
+// Write an Pkt-Line based on `data` to `out` according to the specification.
// https://git-scm.com/docs/protocol-common
func writeDataPktLine(ctx context.Context, out io.Writer, data []byte) error {
// Implementations SHOULD NOT send an empty pkt-line ("0004").