Skip to content

Revert to ignoring non-github.com git remotes#1371

Merged
vilmibm merged 1 commit intotrunkfrom
ignore-nondotcom-remotes
Jul 16, 2020
Merged

Revert to ignoring non-github.com git remotes#1371
vilmibm merged 1 commit intotrunkfrom
ignore-nondotcom-remotes

Conversation

@mislav
Copy link
Copy Markdown
Contributor

@mislav mislav commented Jul 16, 2020

This fixes a regression where extra git remotes pointing to non-github.com hostnames could result in gh trying to parse repository information from them.

To reproduce:

$ git remote add upstream 'https://example.com/BOOM/ASPLODE'
$ gh issue list
not found  #=> it was trying to query for `BOOM/ASPLODE` repo on GitHub.com

This reverts to simply ignoring non-github.com remotes. We do have better support for other hostnames now, but until we decide on specific onboarding logic for dealing with mixed remotes #1180, it's best to ignore them for now to avoid causing disruption to our users.

Followup to #1258

This fixes a regression where extra git remotes pointing to
non-github.com hostnames could result in gh trying to parse repository
information from them.
@mislav mislav requested a review from vilmibm July 16, 2020 16:59
@vilmibm vilmibm merged commit 1f97a9a into trunk Jul 16, 2020
@mislav mislav deleted the ignore-nondotcom-remotes branch August 3, 2020 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants