Skip to content

Commit 259cf5e

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

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
@@ -1536,7 +1536,7 @@ function add_snapshot_to_undo(env=nothing)
15361536
UndoState()
15371537
end
15381538
# Is the current state the same as the previous one, do nothing
1539-
if !isempty(state.entries) && env.project == env.original_project && env.manifest == env.original_manifest
1539+
if !isempty(state.entries) && env.project == env.original_project && env.manifest.deps == env.original_manifest.deps
15401540
return
15411541
end
15421542
snapshot = UndoSnapshot(now(), env.project, env.manifest)

0 commit comments

Comments
 (0)