]> git.proxmox.com Git - pve-guest-common.git/commit
print snapshot tree: reduce indentation delta per level
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Mar 2022 12:06:21 +0000 (13:06 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Mar 2022 12:06:35 +0000 (13:06 +0100)
commite6e15500491d1e3b5bc5b2b1071bc7020625e8bc
tree782fe76b1fdd402d0fac2fd87fb9ff24a641e6b7
parent9fca8f9d5ec210c0215f5990ca4ba4cf3615fa8e
print snapshot tree: reduce indentation delta per level

previous:

> `-> foo                         2021-05-28 12:59:36 no-description
>   `-> bar                       2021-06-18 12:44:48 no-description
>     `-> current                                     You are here!

now:

> `-> foo                         2021-05-28 12:59:36 no-description
>  `-> bar                        2021-06-18 12:44:48 no-description
>   `-> current                                       You are here!

So requires less space, allowing deeper snapshot trees to still be
displayed nicely, and looks even better while doing that - the latter
may be subjective though.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/GuestHelpers.pm