2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 16:23:59 +00:00

Merge pull request #858 from middelink/snapshot-layout

Fix layout issue in cmd_snapshot "ascii art"
This commit is contained in:
Alexander Neumann 2017-03-06 09:10:35 +01:00
commit bf88a62a16

View File

@ -127,6 +127,9 @@ func printSnapshotsReadable(stdout io.Writer, list []*restic.Snapshot) {
}
rows := len(sn.Paths)
if rows < len(sn.Tags) {
rows = len(sn.Tags)
}
treeElement := " "
if rows != 1 {