Skip to content

Commit f2d5378

Browse files
committed
fix(lockfile): Handle checkout if lockfile is enabled
1 parent f45161d commit f2d5378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lua/packer/plugin_types/git.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ git.setup = function(plugin)
410410
end
411411
end
412412

413-
if current_branch ~= origin_branch or lockfile.is_updating then
413+
if current_branch ~= origin_branch or config.is_lockfile then
414414
needs_checkout = true
415415
plugin.branch = origin_branch
416416
end

0 commit comments

Comments
 (0)