You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When push.negotiate is enabled, send-pack spawns a 'git fetch
--negotiate-only' subprocess to discover common commits. Previously this
subprocess received only the remote URL, which meant it could not find
per-remote config like remote.<name>.haveRefs.
Add a remote_name field to send_pack_args, set it from the transport
layer where the remote struct is available, and pass the remote name
(falling back to the URL) to the negotiation subprocess. This allows the
subprocess to resolve remote.<name>.haveRefs for the correct remote.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments