Fix vitastor-cli ls --tree hiding layers whose parent is filtered out #101

Merged
vitalif merged 1 commits from koolkhel/vitastor:cli-ls-tree into master 2026-10-25 22:24:07 +03:00

1 Commits

Author SHA1 Message Date
90402ed55b Fix vitastor-cli ls --tree hiding layers whose parent is filtered out
ls --tree built the tree starting from the roots of the selected layers,
so a layer whose parent was left out by a glob, -p or -n was never
reached and not printed at all: ls --tree testimg printed nothing when
testimg had a parent. Show such a layer as a root; its parent is still
shown in the PARENT column.
2026-10-25 16:10:29 +03:00