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 3, 2022
1 parent f45161d commit f2d5378
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 @@ -410,7 +410,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 f2d5378

Please sign in to comment.