diff options
| author | 2026-03-08 02:31:17 +0800 | |
|---|---|---|
| committer | 2026-03-08 02:31:17 +0800 | |
| commit | db2ea1fbc5ccc13f9bbc5a38abf4c55390265fdb (patch) | |
| tree | f30c52a71f19ea505c884dfcf79681ef2563b29b /cmd/receivepack9418/request.go | |
| parent | internal/compress: Remove InputConsumed/Progress (diff) | |
| signature | No signature | |
cmd/receivepack9418: Lint
Diffstat (limited to 'cmd/receivepack9418/request.go')
| -rw-r--r-- | cmd/receivepack9418/request.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
