mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
Return immediately from `find_closest_sha` when a remote-backed branch has zero distance from `HEAD`, avoiding Git commands for the remaining candidates once the minimum possible distance is found. GitOrigin-RevId: d329ec6b5d655ad401249357e6e83ba7bb130a69