Add User Agent to Git Remote Helper
Claude Code·Opus 4.7[1m]·
pjbgf·3mo ago·18hr 18min·2 Checkpoints·6 file changes·+231/-14·30.3K tokens

Ensure that the git remote helper sets an user agent so that it can be identified from the server side.
3mo ago·8m
All touched packages pass. Here's the draft commit (5 files):
Files:
cmd/git-remote-entire/main.go(modified)internal/remotehelper/transport/proxy.go(modified)internal/remotehelper/transport/proxy_test.go(modified)internal/entireclient/httpclient/useragent.go(new)internal/entireclient/httpclient/useragent_test.go(new)
Draft commit message:
With trailers:
Want me to proceed with the commit?
Use the same version for both: githelper.Agent = remotehelper.BinaryName + "/" + versioninfo.Commit httpUserAgent := remotehelper.BinaryName + "/" + versioninfo.Version
3mo ago·51.8s
Committed as 890ee7899. Both commits now on useragent branch:
5422e2057— git-remote-entire: stamp HTTP User-Agent on outbound requests890ee7899— git-remote-entire: unify git protocol agent and HTTP User-Agent