mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-09 21:46:41 +08:00
Previously if you had a remote in the format: https://github.com/owner/repo/ When using Gbrowse from fugitive, there would be double slashes in the opened URL: https://github.com/owner/repo//blob/master/README.md This caused GitHub not to show a preview of the lines inline if you posted it in a comment. This change strips the trailing slash if it exists.