mirror of https://github.com/folke/lazy.nvim.git
fix(git): only mark a plugin as dirty if an update changed the commit HEAD. Fixes #62
This commit is contained in:
parent
a939243639
commit
bbace14dc9
|
@ -192,9 +192,11 @@ M.checkout = {
|
|||
from = info.commit,
|
||||
to = new_info.commit,
|
||||
}
|
||||
end
|
||||
if self.plugin._.updated.from ~= self.plugin._.updated.to then
|
||||
self.plugin._.dirty = true
|
||||
end
|
||||
end
|
||||
end
|
||||
end,
|
||||
})
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue