mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
Revert "fix(git): honor clone.defaultRemoteName. Fixes #602"
This reverts commit 5af93806aa
.
This commit is contained in:
parent
dac1a6aeeb
commit
790c407b9f
1 changed files with 1 additions and 3 deletions
|
@ -196,9 +196,7 @@ end
|
|||
|
||||
---@param repo string
|
||||
function M.get_origin(repo)
|
||||
local config = M.get_config(repo)
|
||||
local remote = config["clone.defaultRemoteName"] or "origin"
|
||||
return config["remote." .. remote .. ".url"] or config["remote.origin.url"]
|
||||
return M.get_config(repo)["remote.origin.url"]
|
||||
end
|
||||
|
||||
---@param repo string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue