Rename force_autocrlf to override_autocrlf for clarity

This commit is contained in:
JL102 2023-09-28 14:57:19 -04:00
commit 205f5af1d4
2 changed files with 6 additions and 3 deletions

View file

@ -67,12 +67,15 @@ M.clone = {
self.plugin.url,
}
vim.print("force_autocrlf = " .. tostring(Config.options.git.force_autocrlf))
if Config.options.git.filter then
args[#args + 1] = "--filter=blob:none"
end
if Config.options.git.override_autocrlf == true then
args[#args + 1] = "-c"
args[#args + 1] = "core.autocrlf=false"
end
if self.plugin.submodules ~= false then
args[#args + 1] = "--recurse-submodules"
end