Commit 25c1d7a9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 56d47435
...@@ -114,6 +114,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) { ...@@ -114,6 +114,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
for test := range testq { for test := range testq {
i++ i++
δblk := setI64{} δblk := setI64{}
δtree := false
// rebuild blkTab/Zinblk // rebuild blkTab/Zinblk
for blk, zblk := range test.δblkTab { for blk, zblk := range test.δblkTab {
...@@ -137,6 +138,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) { ...@@ -137,6 +138,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
// update δblk due to change in blkTab // update δblk due to change in blkTab
if zblk != zprev { if zblk != zprev {
δblk.Add(blk) δblk.Add(blk)
δtree = true
} }
} }
...@@ -165,7 +167,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) { ...@@ -165,7 +167,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
δfok = &ΔFile{ δfok = &ΔFile{
Rev: commit.At, Rev: commit.At,
Blocks: δblk, Blocks: δblk,
Size: true/*XXX*/, Size: δtree,
} }
vδf = append(vδf, δfok) vδf = append(vδf, δfok)
} }
......
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