fix: don't add empty compact branches (#8587)
parent
2572bea8d7
commit
02c338ba70
|
@ -258,7 +258,9 @@ impl DivideInitial for MultipleBranchesDivideInitial {
|
|||
f2.overlaps_time_range(Timestamp::new(range.min), Timestamp::new(range.max))
|
||||
});
|
||||
|
||||
branches.push(this_branch)
|
||||
if !this_branch.is_empty() {
|
||||
branches.push(this_branch)
|
||||
}
|
||||
}
|
||||
assert!(files.is_empty(), "all files should map to a range");
|
||||
(branches, vec![])
|
||||
|
|
Loading…
Reference in New Issue