mirror of
https://github.com/restic/restic.git
synced 2025-12-04 00:41:47 +00:00
fuse: bugfix: ignore empty tags
This commit is contained in:
@@ -78,11 +78,13 @@ 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.
|
||||
func updateHostsNames(d *HostsDir) {
|
||||
|
||||
Reference in New Issue
Block a user