Skip to content

Commit

Permalink
fix(lockfile): Handle checkout if lockfile is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenEast committed Sep 5, 2022
1 parent 3d2db79 commit b32a78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/packer/plugin_types/git.lua
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ git.setup = function(plugin)
end
end

if current_branch ~= origin_branch or lockfile.is_updating then
if current_branch ~= origin_branch or config.is_lockfile then
needs_checkout = true
plugin.branch = origin_branch
end
Expand Down

0 comments on commit b32a78b

Please sign in to comment.