mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
committed by
GitHub
parent
4598305e0b
commit
8e740db70c
@@ -144,7 +144,7 @@ end
|
||||
--- @param url string
|
||||
--- @param path string
|
||||
local function git_clone(url, path)
|
||||
local cmd = { 'clone', '--quiet', '--origin', 'origin' }
|
||||
local cmd = { 'clone', '--quiet', '--origin', 'origin', '--no-checkout' }
|
||||
|
||||
if vim.startswith(url, 'file://') then
|
||||
cmd[#cmd + 1] = '--no-hardlinks'
|
||||
|
||||
Reference in New Issue
Block a user