Commit 0ff1d4f4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 92051005
...@@ -579,8 +579,8 @@ func (δBtail *ΔBtail) Update(δZ *zodb.EventCommit) (_ ΔB, err error) { ...@@ -579,8 +579,8 @@ func (δBtail *ΔBtail) Update(δZ *zodb.EventCommit) (_ ΔB, err error) {
} }
δTtail.trackNew = trackNew δTtail.trackNew = trackNew
// XXX vvv we can skip computing diff for HEAD~..HEAD (we just // NOTE we cannot skip computing diff for HEAD~..HEAD
// computed it in _Update1)? (or not - trackNew is as of @head ?) // even after _Update1 because _Update1 was working with different trackNew.
δtrackSet, δrevSet, err := δTtail.rebuild(root, δBtail.δZtail, δBtail.db) δtrackSet, δrevSet, err := δTtail.rebuild(root, δBtail.δZtail, δBtail.db)
if err != nil { if err != nil {
return ΔB{}, err return ΔB{}, err
......
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