Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print paths for unmounted intermediate datasets #7

Merged
merged 1 commit into from
Jan 19, 2022

Commits on Jan 15, 2022

  1. Print paths for unmounted intermediate datasets

    Fixes jimsalterjrs#5
    
    This finds the longest common prefix of path segments since the last and
    current dataset and prints any up to the final segment that have been
    missed.
    
    For example, a root mount at rpool/ROOT/default would previously be
    displayed thus:
    
    dataset
            default ...
    
    This ensures the path leading up to it have their own lines:
    
    dataset
    rpool
        ROOT
            default ...
    
    I believe this to be a more consistent fix than the one proposed in jimsalterjrs#6
    where intermediates are formatted on a single line.
    Freaky committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    dd87022 View commit details
    Browse the repository at this point in the history