mirror of
https://github.com/restic/restic.git
synced 2026-10-18 07:28:12 +00:00
fuse: bugfix: ignore empty tags
This commit is contained in:
1 parent
faadbd734b
commit
b57ca64275
1 file changed
+3
-1
@@ -78,7 +78,9 @@ 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 {
|
||||
d.tags[tag] = true
|
||||
if tag != "" {
|
||||
d.tags[tag] = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user