Merge pull request #1360 from mungomat/fuse_bugfix
fuse: bugfix: ignore empty tags
This commit is contained in:
commit
0b6133d7b5
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue