Route non-native URL schemes through git remote helpers
main·
Commit

newConn now checks for a git-remote-<scheme> binary when the endpoint scheme isn't one git-sync handles natively, and builds a HelperConn when one exists. http/https are excluded so they always use the optimized native HTTP transport (git ships its own git-remote-http(s)); ssh is already handled above. This is what makes entire:// URLs work, given git-remote-entire on PATH.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: b8f20408aa93
Checkpoints
❯ GITSYNC_MAX_REF_UPDATES_PER_PUSH=5000 go run ./cmd/git-sync replicate --all-refs --stats --verbose \
Claude CodeOpus 4.8[1m]
View sessionCheckpoint 1