knsh14 / vim-github-link

generate github link from selected lines in vim
MIT License
62 stars 15 forks source link

Support repos cloned without '.git' suffix #11

Closed shore closed 4 years ago

shore commented 4 years ago

If the repo is cloned without the .git suffix, git reports the repo without the suffix, which causes the regexps not to match in URL extraction. This change makes the final .git optional.

knsh14 commented 4 years ago

@shore thanks to try contribute this repo! something is conflicting, could you resolve it?

shore commented 4 years ago

Github won't allow changing the source branch, so I will close this to be replaced with #12.

shore commented 4 years ago

@shore thanks to try contribute this repo! something is conflicting, could you resolve it?

Fixed in #12