Bootstrap::GitRemoteHttps
Inherits Bootstrap::CLI < Reference < Object
Minimal Git remote helper for HTTPS fetch over the smart HTTP protocol.
Constants
DEBUG_ENV = "BQ2_GIT_REMOTE_HTTPS_DEBUG"
Enable debug logging when set to any non-empty value.
MAX_REDIRECTS = 10
Limit redirects to avoid loops; matches curl defaults.
PUSH_CAPABILITIES = "report-status agent=bq2-git-remote-https"
Capabilities requested during receive-pack negotiation.
RECEIVE_SERVICE_NAME = "git-receive-pack"
Git smart HTTP service name for push operations.
REQUEST_CAPABILITIES = "thin-pack ofs-delta agent=bq2-git-remote-https"
Capabilities requested during upload-pack negotiation.
SERVICE_NAME = "git-upload-pack"
Git smart HTTP service name for fetch operations.
USER_AGENT = "bq2-git-remote-https"
User-Agent string for outbound HTTP requests.
ZERO_OID = "0" * 40
40-char zero object id used for ref creation/deletion.
Class methods
Run the git-remote-https helper with args and return a shell-style exit code.