feat(git): show error for local changes during check/update

This commit is contained in:
Folke Lemaitre 2023-10-10 11:41:32 +02:00
parent 067544c74a
commit 43e9165994
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 29 additions and 0 deletions

View file

@ -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 },
},