SIGN IN SIGN UP

patchcheck: use URL paths to identify upstream remote (GH-135806)

* find defined "(fetch)" remotes with "python/cpython" in their URL
* if there is exactly one, use that remote name
* if there is one named "upstream", "origin", or "python",
  use that remote (in that precedence order)
* otherwise report an error listing the defined remotes
K
Kattni committed
ac9d37c60b7d10cb38fc9e5cb04e398dbc5bf2e5
Parent: b14986c
Committed by GitHub <noreply@github.com> on 6/22/2025, 4:51:23 AM