mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat(git): show error for local changes during check/update
This commit is contained in:
parent
067544c74a
commit
43e9165994
2 changed files with 29 additions and 0 deletions
|
@ -103,6 +103,7 @@ function M.update(opts)
|
|||
"git.origin",
|
||||
"git.branch",
|
||||
"git.fetch",
|
||||
"git.status",
|
||||
{ "git.checkout", lockfile = opts.lockfile },
|
||||
"plugin.docs",
|
||||
"wait",
|
||||
|
@ -132,6 +133,7 @@ function M.check(opts)
|
|||
pipeline = {
|
||||
{ "git.origin", check = true },
|
||||
"git.fetch",
|
||||
"git.status",
|
||||
"wait",
|
||||
{ "git.log", check = true },
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue