Update files

This commit is contained in:
2026-03-06 17:05:20 +00:00
parent faea500177
commit 40adefb70c

View File

@@ -193,7 +193,7 @@ vim.api.nvim_create_autocmd('SwapExists', {
if msg ~= "" then
msg = "Update files"
end
local add_cmd = config.force_add and " add -f -A" or " add -A"
local add_cmd = " add -A"
os.execute(git_base .. add_cmd)
os.execute(git_base .. " commit -m " .. vim.fn.shellescape(msg))
print("\nChanges committed.")