Reconcile retained history accounting
This commit is contained in:
@@ -21,7 +21,7 @@ func (builder *historyBuilder) observeTypedCheckpoint(phase historyPhase, root *
|
||||
panic("configkit: typed checkpoint has an invalid history phase")
|
||||
}
|
||||
payload := builder.nextPayload(phase)
|
||||
checkpoint := historyCheckpointPayload{root: document.Clone(root), origins: cloneOriginIndex(origins)}
|
||||
checkpoint := historyCheckpointPayload{root: root, origins: cloneOriginIndex(origins)}
|
||||
switch phase {
|
||||
case historyPhasePreCLI:
|
||||
if builder.model.preCLICheckpoint != nil || payload.id != 0 {
|
||||
|
||||
Reference in New Issue
Block a user