sigma / magit-gh-pulls

Magit plugin for dealing with GitHub pull requests
254 stars 48 forks source link

correctly handle remotes without a URL #114

Closed aspiers closed 6 years ago

aspiers commented 6 years ago

Remotes can exist without a URL, for valid reasons. For example, when using git-annex, the Glacier special remote does not require a URL:

So avoid calling magit-gh-pulls-parse-url unless we actually have a URL to parse.