From db2ea1fbc5ccc13f9bbc5a38abf4c55390265fdb Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Mar 2026 02:31:17 +0800 Subject: cmd/receivepack9418: Lint --- cmd/receivepack9418/request.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/receivepack9418/request.go') diff --git a/cmd/receivepack9418/request.go b/cmd/receivepack9418/request.go index 5e392926..57b55e30 100644 --- a/cmd/receivepack9418/request.go +++ b/cmd/receivepack9418/request.go @@ -21,6 +21,7 @@ func parseGitProtoRequestPayload(payload []byte) (gitProtoRequest, error) { } commandPath := string(parts[0]) + command, pathname, ok := strings.Cut(commandPath, " ") if !ok || command == "" || pathname == "" { return gitProtoRequest{}, fmt.Errorf("malformed command/path segment %q", commandPath) -- cgit v1.3.1-10-gc9f91