Skip to content

Commit

Permalink
Merge pull request #606 from Hashino/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvaro Muñoz authored Sep 14, 2024
2 parents aad50e0 + b90bf21 commit 955f0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/octo/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function M.parse_remote_url(url, aliases)
-- if url contains two slashes
local segments = vim.split(url, "/")
local host, repo
if #segments == 3 then
if #segments == 3 or (#segments == 4 and segments[4] == "") then
host = segments[1]
repo = segments[2] .. "/" .. segments[3]
elseif #segments == 2 then
Expand Down

0 comments on commit 955f0fd

Please sign in to comment.