2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-15 07:17:40 +00:00

Merge pull request #1360 from mungomat/fuse_bugfix

fuse: bugfix: ignore empty tags
This commit is contained in:
Alexander Neumann 2017-10-16 20:07:05 +02:00
commit 0b6133d7b5

View File

@ -78,10 +78,12 @@ func updateTagNames(d *TagsDir) {
d.tags = make(map[string]bool, len(d.root.snapshots))
for _, snapshot := range d.root.snapshots {
for _, tag := range snapshot.Tags {
if tag != "" {
d.tags[tag] = true
}
}
}
}
}
// read host names from the current repository-state.