1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2024-11-16 13:28:37 +00:00

Merge pull request #35 from stephen679/set_keyword_selector

[bug fix] walk: filter \set keyword correctly
This commit is contained in:
Vincent Batts 2016-07-21 13:51:47 -04:00 committed by GitHub
commit 20279bacf2

View file

@ -106,7 +106,7 @@ func Walk(root string, exlcudes []ExcludeFunc, keywords []string) (*DirectoryHie
Name: "/set", Name: "/set",
Type: SpecialType, Type: SpecialType,
Pos: len(creator.DH.Entries), Pos: len(creator.DH.Entries),
Keywords: append(defaultSetKeywords, klist...), Keywords: keywordSelector(append(defaultSetKeywords, klist...), keywords),
} }
creator.curSet = &e creator.curSet = &e
creator.DH.Entries = append(creator.DH.Entries, e) creator.DH.Entries = append(creator.DH.Entries, e)