Update files
This commit is contained in:
@@ -193,7 +193,7 @@ vim.api.nvim_create_autocmd('SwapExists', {
|
|||||||
if msg ~= "" then
|
if msg ~= "" then
|
||||||
msg = "Update files"
|
msg = "Update files"
|
||||||
end
|
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 .. add_cmd)
|
||||||
os.execute(git_base .. " commit -m " .. vim.fn.shellescape(msg))
|
os.execute(git_base .. " commit -m " .. vim.fn.shellescape(msg))
|
||||||
print("\nChanges committed.")
|
print("\nChanges committed.")
|
||||||
|
|||||||
Reference in New Issue
Block a user