Commit eb68c598 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e215d7e6
......@@ -482,13 +482,13 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid) (δ map[Key]Value, err
return nil, fmt.Errorf("BUG or btree corrupt: [%v] has " +
"duplicate entries: %v, %v", k, vprev, v)
}
if v != VDEL {
δ[k] =v
}
delete(δ, k)
}
}
// XXX process keys from δ outside of already tracked nodes
// XXX only deleted keys - no - delete can be from untracked
// node and on tracked it is seen as addition
}
return δ, nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment