vermiculus / magithub

**DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub
GNU General Public License v3.0
579 stars 63 forks source link

Set default repo for cloning if browse-url-url-at-point/lm-homepage looks like github repo URL #279

Open a13 opened 6 years ago

a13 commented 6 years ago

It would be great if magithub-clone--get-repo looked if (browse-url-url-at-point) or (lm-homepage) matches typical github repository url, e.g. https://github.com/vermiculus/magithub and set a default prompt to it.

Something based on:

(or (magithub--url->repo (browse-url-url-at-point))
    (magithub--url->repo (lm-homepage)))

Thanks!