Skip to content

Commit 4ae524a

Browse files
IanButterworthKristofferC
authored andcommitted
when deciding whether to set an undo point, ignore manifest metadata (#2651)
(cherry picked from commit 14ece99)
1 parent 1a82539 commit 4ae524a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/API.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ function add_snapshot_to_undo(env=nothing)
16221622
UndoState()
16231623
end
16241624
# Is the current state the same as the previous one, do nothing
1625-
if !isempty(state.entries) && env.project == env.original_project && env.manifest == env.original_manifest
1625+
if !isempty(state.entries) && env.project == env.original_project && env.manifest.deps == env.original_manifest.deps
16261626
return
16271627
end
16281628
snapshot = UndoSnapshot(now(), env.project, env.manifest)

0 commit comments

Comments
 (0)