Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Oct 24, 2024
1 parent 197ac2d commit f71e75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghstack/github_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_github_repo_name_with_owner(
# Grovel in remotes to figure it out
remote_url = sh.git("remote", "get-url", remote_name)
while True:
match = r"^git@{github_url}:([^/]+)/(.+?)(?:\.git)?$".format(
match = r"^git@{github_url}:/?([^/]+)/(.+?)(?:\.git)?$".format(
github_url=github_url
)
m = re.match(match, remote_url)
Expand Down

0 comments on commit f71e75d

Please sign in to comment.