Skip to content

Commit 14ece99

Browse files
when deciding whether to set an undo point, ignore manifest metadata (#2651)
1 parent 1685f44 commit 14ece99

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
@@ -1627,7 +1627,7 @@ function add_snapshot_to_undo(env=nothing)
16271627
UndoState()
16281628
end
16291629
# Is the current state the same as the previous one, do nothing
1630-
if !isempty(state.entries) && env.project == env.original_project && env.manifest == env.original_manifest
1630+
if !isempty(state.entries) && env.project == env.original_project && env.manifest.deps == env.original_manifest.deps
16311631
return
16321632
end
16331633
snapshot = UndoSnapshot(now(), env.project, env.manifest)

0 commit comments

Comments
 (0)