Skip to content

Commit acc5f90

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

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

0 commit comments

Comments
 (0)