mirror of https://github.com/folke/lazy.nvim.git
fix(git): fetch commit from origin or local to check if branch was changed. See #1549
This commit is contained in:
parent
6d60dc3c05
commit
28e435b7f3
|
@ -127,7 +127,7 @@ M.branch = {
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
local branch = assert(Git.get_branch(plugin))
|
local branch = assert(Git.get_branch(plugin))
|
||||||
return Git.get_commit(plugin.dir, branch)
|
return Git.get_commit(plugin.dir, branch, true)
|
||||||
end,
|
end,
|
||||||
run = function(self)
|
run = function(self)
|
||||||
local args = {
|
local args = {
|
||||||
|
|
Loading…
Reference in New Issue